forked from EdwardRaff/chainer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (49 loc) · 1.19 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
language: python
matrix:
include:
- os: linux
python: "2.7"
- os: linux
python: "3.4"
- os: linux
python: "3.5"
- os: osx
language: generic
env:
- PYTHON_VERSION=2.7.10
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- os: osx
language: generic
env:
- PYTHON_VERSION=3.4.3
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- os: osx
language: generic
env:
- PYTHON_VERSION=3.5.0
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
before_install:
- if [[ $TRAVIS_OS_NAME = "osx" ]]; then
brew update >/dev/null;
brew outdated pyenv || brew upgrade --quiet pyenv;
brew install homebrew/boneyard/pyenv-pip-rehash;
pyenv install -ks $PYTHON_VERSION;
pyenv global $PYTHON_VERSION;
python --version;
brew install homebrew/science/hdf5;
pip install h5py;
fi
install:
- python setup.py install
- pip install nose flake8 hacking mock
script:
- nosetests -a '!gpu' tests/chainer_tests
- flake8
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev