-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
29 lines (29 loc) · 1.09 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
language: python
python:
- "3.8"
# commands to install dependencies
install:
#No installation is required for UnitTesterSG with what is already on the Travis CI, so commenting out the below to let the build test run faster.
#- virtualenv -p /opt/pyenv/versions/3.8/bin/python3.8 venv
#- source venv/bin/activate
#- pip install UnitTesterSG[COMPLETE] #this is mostly to get the dependencies.
#- python setup.py install #now overwrite old installations with the current version.
# command to run tests
#remove the Examples13 doe test_3 and test_4.py since they require MPI and we have not gotten that to work on travis CI.
- cd Examples/Example13doeFunctionExample/
- rm test_3.py
- rm test_4.py
- cd ..
- cd ..
- pip install UnitTesterSG
- pip install numpy
- pip install pandas
- pip install matplotlib
- pip install scipy
- pip install CiteSoft
- pip install zeus-mcmc
- pip install dill
- pip install emcee
script:
- cd Examples
- python3 runPytestDriver.py failWithError #The "failWithError" optional argument will cause an error exitCode if any unit tests fail.