forked from FireDynamics/fdsreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 1.43 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
42
43
44
45
46
47
48
49
50
51
jobs:
include:
- stage: deploy
language: python
python: 3.8
install:
- |
while read requirement; do pip install $requirement || conda install --yes $requirement ; done < requirements.txt
script:
- cd $TRAVIS_BUILD_DIR
- sphinx-build -b html docs docs/build
- touch docs/build/.nojekyll
- python setup.py sdist bdist_wheel
deploy:
- provider: pypi
user: "__token__"
password: $PYPI_TOKEN
repository: testpypi
skip_existing: true
- provider: pages:git
verbose: true
token: $GITHUB_TOKEN
edge: true
local_dir: ./docs/build/
keep_history: true
- stage: test36
language: python
python: 3.6.9
install: pip install fdsreader
script: python -m unittest discover
- stage: test37
language: python
python: 3.7.9
install: pip install fdsreader
script: python -m pip install --upgrade setuptools && python -m unittest discover
- stage: test38
language: python
python: 3.8.7
install: pip install fdsreader
script: python -m unittest discover
- stage: test39
language: python
python: 3.9.7
install: pip install fdsreader
script: python -m unittest discover
notifications:
email:
recipients:
on_success: never
on_failure: always