forked from rubysoho07/caliper-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (22 loc) · 876 Bytes
/
.travis.yml
File metadata and controls
26 lines (22 loc) · 876 Bytes
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
language: python
python: 3.7
dist: xenial
sudo: true
before_install:
# note that TRAVIS_BRANCH tells us the _target branch_ in PR builds;
# this is explicitly what we want
# don't bother building branches not destined for merging into develop or master
- echo "Current build type is $TRAVIS_BRANCH."
- echo "Current PR number is $TRAVIS_PULL_REQUEST."
- echo "(Only develop, master, and PR builds for develop and master, actually get built.)"
- if [[ "$TRAVIS_BRANCH" != "master" ]] && [[ "$TRAVIS_BRANCH" != "develop" ]] ; then travis_terminate 0 ; fi
install:
- pip install tox
- pip check
before_script:
- wget https://github.com/IMSGlobal/caliper-common-fixtures/archive/master.zip
- unzip master.zip -d ./tests
- mv ./tests/caliper-common-fixtures-master ./tests/fixtures
script:
- python3 setup.py sdist
- tox