2016-02-08 23:16:28 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2016-03-19 20:06:18 +00:00
|
|
|
echo ">> Setting up tests"
|
2016-03-19 18:02:42 +00:00
|
|
|
npm install jsonlint -g
|
2016-03-19 20:06:18 +00:00
|
|
|
pip install flake8
|
|
|
|
|
|
|
|
|
|
|
|
echo ">> Validating JSON..."
|
2016-02-09 21:22:48 +00:00
|
|
|
jsonlint -q apt/apt-installs-core.json
|
|
|
|
jsonlint -q apt/apt-installs-extra.json
|
|
|
|
jsonlint -q apt/apt-keys.json
|
|
|
|
jsonlint -q apt/apt-repos.json
|
|
|
|
jsonlint -q atom/packages.json
|
2016-03-19 16:17:12 +00:00
|
|
|
jsonlint -q yaourt/packages.json
|
2016-02-08 23:16:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
echo ">> Validating Python..."
|
2016-03-19 16:14:26 +00:00
|
|
|
flake8 atom/exports.py --ignore=E128,E501,E401,F403
|
|
|
|
flake8 scripts/installers.py --ignore=E128,E501,E401,F403
|
|
|
|
flake8 yaourt/exports.py --ignore=E128,E501,E401,F403
|
2016-02-09 21:59:23 +00:00
|
|
|
flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501,E401,F403
|