forked from metagraph-dev/dask-grblas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (31 loc) · 1.15 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
# This TravisCI script is very minimal and not very flexible.
# It only tests one environment on Linux with Python 3.7 and 3.8.
# We will eventually want to expand our test environments.
language: python
os: linux
dist: xenial
python:
- "3.7"
- "3.8"
install:
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/use-conda-with-travis-ci.html
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# create and activate environment
- conda create -n grblas -c conda-forge python=$TRAVIS_PYTHON_VERSION dask pandas scipy networkx numba cffi graphblas pytest-runner coverage
- conda activate grblas
- pip install git+https://github.com/jim22k/grblas
- pip install -e .
script:
- coverage run `which py.test` --runslow
after_success:
- coverage report --show-missing
- conda install -c conda-forge coveralls
- coveralls
notifications:
email: false