forked from containerbuildsystem/atomic-reactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 932 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install -r tests/requirements.txt"
- "pip install pytest-cov coveralls"
- "pip install git+https://github.com/projectatomic/osbs-client"
- "if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install git+https://github.com/release-engineering/dockpulp; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -r requirements-py2.txt; fi"
# command to run tests
script: "py.test -vv tests --cov atomic_reactor"
# run in a docker container
sudo: false
notifications:
email: false
after_success: "coveralls"
deploy:
provider: pypi
user: bkabrda
on:
tags: true
password:
secure: Q4pXe0ARf2Mj7ZEqEICpzW6SBB554PxVPKErJkUcaD4V3zO3e/Ckbrk0aHeCMCPZlD5i/tfBXRMsMJhcvQht+jXTwUo5VD55WvkKBmpvQbJBsvmrIvrX+3C8SxVYXyLiSklQxCdGMCE/EN9dmQVI2574BQsXR43uVhwOzuL2V3k=