forked from automl/auto-sklearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (48 loc) · 1.49 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
language: python
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.cache/pip
pip: true
sudo: false
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
# command to install dependencies
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libatlas-dev
- liblapack-dev
- libatlas-base-dev
- gfortran
packages:
- gcc-4.8
- g++-4.8
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
install:
- export CXX="g++-4.8" CC="gcc-4.8"
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy=1.9 scipy=0.16 nose scikit-learn=0.16.1 Cython pandas
- pip install mock --no-deps
- pip install lockfile==0.10.2 --no-deps
- pip install pep8 python-coveralls
- pip install coverage
- pip install psutil
# Install requirements from other repos
- pip install git+https://github.com/automl/HPOlibConfigSpace@refactor
- pip install git+https://github.com/sfalkner/pynisher@master
- pip install git+https://bitbucket.org/aadfreiburg/random_forest_run@master
- pip install git+https://bitbucket.org/aadfreiburg/smac3@development
- python setup.py install
# command to run tests, e.g. python setup.py test
script:
# - coverage run --source autosklearn setup.py test
- cd test && nosetests -v --with-coverage --cover-package=autosklearn
after_success: coveralls