-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
85 lines (70 loc) · 2.04 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
sudo: false
os:
- linux
language: generic
env:
- PY=3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran
- libblas-dev
- liblapack-dev
- libopenmpi-dev
- openmpi-bin
before_install:
- wget "https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O miniconda.sh;
- chmod +x miniconda.sh;
- ./miniconda.sh -b -p /home/travis/miniconda;
- export PATH=/home/travis/miniconda/bin:$PATH;
install:
- pip install numpy
- pip install scipy==1.1.0
- conda install --yes nose sphinx swig pip;
- pip install --upgrade pip;
- pip install mpi4py
- pip install numdifftools
- pip install chaospy==2.3.5
# Install pyoptsparse
- git clone https://github.com/OpenMDAO/pyoptsparse.git;
- cd pyoptsparse;
- python setup.py install;
- cd ..;
# Install openmdao
- git clone https://github.com/OpenMDAO/openmdao.git;
- cd openmdao;
- pip install -e .;
- cd ..;
# Install OpenAeroStruct (We will use John's fork for now)
- git clone https://github.com/johnjasa/OpenAeroStruct.git;
- cd OpenAeroStruct;
- git fetch;
- git checkout move_surface_vars;
- pip install -e .;
- cd ..;
# Install pyStatreduce
- pip install -e .;
# Branches to avoid building
branches:
except:
- codebreaking
- master
# - omdao_workshop
script:
- python ./pystatreduce/test/test_stochastic_collocation.py
- python ./pystatreduce/test/test_new_stochastic_collocation.py
- python ./pystatreduce/test/test_monte_carlo.py
- python ./pystatreduce/test/test_hadamard_quadratic.py
- python ./pystatreduce/test/test_dimension_reduction.py
- python ./pystatreduce/test/test_arnoldi_sampling.py
- python ./pystatreduce/test/test_stochastic_collocation3.py
- python ./pystatreduce/test/test_angles.py
- python ./pystatreduce/test/test_active_subspace.py
# Tests with MDOLab examples
# - python ./pystatreduce/test/test_openaerostruct_examples.py
# - python ./pystatreduce/test/test_scaneagle_john.py
notifications:
email: