forked from Tillsten/skultrafast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 856 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
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- 3.7
# test minium required and latest versions of SciPy and NumPy
env:
- version=latest
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"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
install:
- conda create -n test_env python=3.7
- source activate test_env
- conda install --file requirements.txt -c conda-forge
- conda install --file doc_requirements.txt -c conda-forge
- python setup.py sdist
- pip install dist/*
- conda list
script:
- pytest
notifications:
email: false