forked from lda-project/lda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (27 loc) · 806 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
version: ~> 1.0
language: python
dist: xenial
python: 3.7
jobs:
- python: 3.6
- python: 3.7
- python: 3.8
cache: pip
before_install:
# use Anaconda to get compiled versions of scipy and numpy,
# modified from https://gist.github.com/dan-blanchard/7045057
- wget http://repo.continuum.io/miniconda/Miniconda-3.7.3-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
# Update conda itself
- conda update --yes conda
install:
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy Cython
- source activate testenv
- pip install --pre oslotest # needed until final release of oslotest?
- make cython
- python setup.py install
script:
- cd /tmp
- python -m unittest discover lda