stab-crashes/.travis.yml

20 строки
756 B
YAML
Исходник Обычный вид История

2016-08-30 17:25:34 +03:00
language: python
python:
- 3.5
2016-08-29 02:29:12 +03:00
before_install:
2016-08-29 02:38:14 +03:00
- openssl aes-256-cbc -K $encrypted_8f1589bc8b8c_key -iv $encrypted_8f1589bc8b8c_iv -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
- mv deploy-key ~/.ssh/deploy-key
2016-08-29 02:30:13 +03:00
- chmod u=rw,og= ~/.ssh/deploy-key
2016-08-29 02:29:12 +03:00
- echo "Host github.com" >> ~/.ssh/config
- echo "HostName github.com" >> ~/.ssh/config
- echo "IdentityFile ~/.ssh/deploy-key" >> ~/.ssh/config
- echo "User git" >> ~/.ssh/config
- git remote set-url origin git@github.com:mozilla/stab-crashes.git
2016-08-30 16:46:39 +03:00
install:
2016-08-30 17:34:44 +03:00
- pip install -r requirements.txt
- pip install -r test-requirements.txt
2016-08-29 02:29:12 +03:00
script:
2016-08-30 17:25:34 +03:00
- flake8 .
2016-08-30 17:45:17 +03:00
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && python generate-data.py && ghp-import -n -p -m "Updates" dist'