forked from automl/RoBO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 988 Bytes
/
.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
language: python
python:
- "3.4"
- "3.5"
os:
- linux
before_install:
- sudo add-apt-repository ppa:teward/swig3.0 -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
- sudo apt-get install libeigen3-dev
- sudo apt-get install libboost-all-dev
- sudo apt-get install gcc-4.9 g++-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
# Installing swig
# ---------------
- sudo apt-get install -y swig3.0
- sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
install:
- pip install --upgrade pip
- pip install cython
- travis_wait pip install -r all_requirements.txt
- pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
- python setup.py install
- pip install coveralls
script: coverage run --source=robo -m unittest discover test -v
after_success: coveralls