forked from rdeits/iris-distro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (39 loc) · 1.05 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
language: python
notifications:
email: false
branches:
only:
- master
matrix:
include:
- os: linux
sudo: required
dist: trusty
python: "2.7"
env:
- PYBIND11_PYTHON_VERSION=2.7
- os: linux
sudo: required
dist: trusty
python: "3.5"
env:
- PYBIND11_PYTHON_VERSION=3.5
- os: osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source travis/linux.sh ; fi
- mkdir -p $HOME/.config/matplotlib
- echo backend\:\ agg >> $HOME/.config/matplotlib/matplotlibrc
- export MATPLOTLIBRC=$HOME/.config/matplotlib
- mkdir -p $HOME/mosek
- openssl aes-256-cbc -K $encrypted_b15e1ad4334d_key -iv $encrypted_b15e1ad4334d_iv -in lic.enc -out $HOME/mosek/mosek.lic -d
- pip install -r requirements.txt
- pip install IPython==5.0
- pip install jupyter
install:
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release -DPYBIND11_PYTHON_VERSION=$PYBIND11_PYTHON_VERSION
- make
script:
- cd iris-build
- ctest --output-on-failure