forked from Azure-Samples/azure-batch-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (25 loc) · 754 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
language: python
cache: pip
python:
- 2.7
- 3.3
- 3.4
- 3.5
# disable pypy until travis upgrades to at least pypy2.6 due to cryptography
#- pypy
# disable pypy3 until 3.3 compliance
#- pypy3
env:
- STORAGE_SAMPLES_DIR=Python/Storage BATCH_SAMPLES_DIR=Python/Batch
install:
- pip install -e $STORAGE_SAMPLES_DIR
- pip install coveralls flake8 pytest pytest-cov requests_mock
script:
- cd $STORAGE_SAMPLES_DIR
- flake8 blobxfer.py test/test_blobxfer.py
- PYTHONPATH=. py.test -l --cov-config ../.coveragerc --cov-report term-missing --cov blobxfer test/test_blobxfer.py
- cd ../../$BATCH_SAMPLES_DIR
- pip install -r requirements.txt
- flake8 . --statistics
after_success:
- coveralls --rcfile=../.coveragerc --verbose