forked from inspirehep/magpie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (30 loc) · 795 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
29
30
31
32
33
34
35
language: python
sudo: false
python:
- 2.7
- 3.6
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
packages:
- liblapack-dev
- python-h5py
- libhdf5-serial-dev
- hdf5-tools
before_install:
- travis_retry wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
- source activate test
- pip install -U pip six wheel setuptools
- conda install --yes numpy scipy scikit-learn nltk gensim theano tensorflow
- python setup.py install
script:
- python -m unittest discover