-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (38 loc) · 1 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
sudo: false
os:
- linux
env:
- PY=3.6
language: generic
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran
- libblas-dev
- liblapack-dev
- libopenmpi-dev
- openmpi-bin
before_install:
- if [ "$PY" = "3.6" ]; then wget "https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O miniconda.sh; fi
- chmod +x miniconda.sh;
- ./miniconda.sh -b -p /home/travis/miniconda;
- export PATH=/home/travis/miniconda/bin:$PATH;
- if [ "$TRAVIS_REPO_SLUG" = "OpenMDAO/dymos" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
MASTER_BUILD=1;
fi
install:
- conda install --yes python=$PY numpy scipy nose sphinx mock swig pip;
- pip install --upgrade pip
- sudo apt-get install gfortran
- pip install numpy==1.14.1
- pip install scipy==1.0.0
- pip install pyyaml
- pip install ase
- conda install --yes -c psi4 python=$PY psi4
# install your project itself in developer mode.
- pip install -e .;
script:
- python tests/test.py
- python tests/h2_test.py