forked from brainglobe/brainglobe-atlasapi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (40 loc) · 958 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
36
37
38
39
40
41
language: python
matrix:
include:
- os: linux
python: 3.6
dist: bionic
- os: linux
python: 3.7
dist: bionic
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-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 info -a
install:
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- pip install -e .[dev]
- conda info -a
after_success:
- coveralls
script:
- black ./ -l 79 --check
# - travis_wait 40 bash travis/run_tests.sh
notifications:
email:
recipients:
on_success: change
on_failure: always
#deploy:
# - provider: pypi
# user: __token__
# distributions: sdist bdist_wheel
# skip_existing: true
# on:
# branch: master
# tags: true