This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
41 lines (37 loc) · 1.62 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
python:
- "3.6"
- "3.7"
env:
global:
secure: YscqZKGnX2vxiqO0RlGYli1oWCfJsHHiMd+RzScbyiCyDSNedFlI7Da5bYJaOeQ9VxG9gd6Fe6gw/3d38CkOFItqYTGHSDiw3MccWMFBaIGwXa11z6SHRVviUCNPujAXl/4Cq0W7AedB4vAbgDUoCbPdRuQ7d3gHNGBzQFDbN6w=
# matrix:
# - DJANGO=1.11
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U setuptools
- # pip install Django==$DJANGO
- # pip install coveralls
- # test -e "requirements.$TRAVIS_BRANCH.txt" && ( pip install -r "requirements.$TRAVIS_BRANCH.txt" ) || ( pip install -r requirements.txt )
- pip install -e .
# command to run tests, e.g. python setup.py test
script:
- #export LINO_CACHE_ROOT=$TRAVIS_BUILD_DIR/lino_cache
- #mkdir $LINO_CACHE_ROOT
- # coverage run --source=lino setup.py test
- inv prep test
after_script:
- echo TRAVIS_BRANCH: $TRAVIS_BRANCH TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST
- echo TRAVIS_API_TOKEN: $TRAVIS_API_TOKEN
- if [[ ("$TRAVIS_BRANCH" == "master") && ("$TRAVIS_PULL_REQUEST" = "false") ]] ; then ; bash ./travis/after_script.sh ; fi
#after_success:
# coveralls
notifications:
email:
recipients:
- secure: EpnJWwQ4myD7BqduLffWkbrZsaHqWqNr+xeaQKfgON1Z7TOT/ML3qWVR+hr+v7ZkxCuGv0GRjbyVNTeRW7sEhwo4nsmuvR+7w4BpCjXhWuL71fkq0zIdwViapoY91InJHeKIJi9FzKAJEhmm0VWuj9ouHF28AUKJKFJQ01EHrCE=
- secure: PI5TM+LEssN/WbnMmRylCnEkhmME/VmyKcFik25cZvnfKQcqp9gHTZ6xCVSFbPFF12u+RCohqs/joA7xMaBlVVmCwU8NNubw75xO8apLoaCcAAOMy/mRLDIpNDzRELt+LLp7HNyjvOT8nf1xmTfrbX/44ImJjHfIdgT6UPGhr+o=
on_success: change
on_failure: always