-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (51 loc) · 1.99 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: python
# Use container-based infrastructure
sudo: false
env:
global:
- secure: Be4uwrInKtcstyo449YTuqntKRAEXVg4dtQVoioAcFtfhOPu2z85U8cCXdS2SHS5Wcgh1ssp2k9rGUuLzXuBkDJSh91Nsf1gz1ghRhBxrbr0VgU6n89HDomI1GSZ2KASdzeJn4SNsV5E0Wd7TSqbgsx3O0hPJxK68buRu4arW3qZSwgwI9KeG0FIq8tpmkoana64+XAv+c+jndOg7bv6q6NPKKwMMv33sB4ZHLzy4/HM/myRzgxygdrEK6TeI6tBOPen/GoW8UGHmozKc1jy6pYquEAGFUgAvtNDFjWzIs9idl7sWNKPId5KNV4fx+yMmmZmtToYOEVeJ4tJI2pH07ruUXdLQ1gBCH7YTN3NrLy8yM2okmogKbBwHibmNfDwfqIiNXMk6Z2Pd8TXT57lxmyAMAuhB1dcR/IHCHsEyAQEGGcGemF5uEsJ661gdfZ8tzkExNUxQtQhPGKxyusVEnH/y3cYZdx+nSNRuhYR6NRtuUvEIoiqSoZ9BVXyDZp68SzWIyZJa+q9SWIwUFjZhcAusI5lYkryLF3SmPneQj1cn1oA1Fd3rv61m+8a0O60VijuX/aNbjjcF6VvRj9KqwutKZjirKds4POvE1Xc6zsLAsp1ktOArUqn8wJNUey1dAJBdT3MyYeJzJRjH7S8CR2ibMjA9OgcRlIWMkROdJc=
matrix:
- PYTHON=3.7
# Setup anaconda
before_install:
- wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes --quiet conda
install:
- INSTALLS="pytest numpy$NUMPY h5py pep8 pyflakes flake8 coverage pytest-cov"
- if [ "${DEPS}" != "minimal" ]; then
INSTALLS="$INSTALLS scipy pandas pytables";
else
INSTALLS="$INSTALLS certifi requests";
fi;
- conda create -n testenv --yes pip python=$PYTHON $INSTALLS
- source activate testenv
- pip install -q codecov
- python setup.py build
- python setup.py install
script:
- pytest h5io
- make flake
after_success:
- codecov
deploy:
- provider: pypi
user: pyiron
password: ${PYPI_TOKEN}
distributions: "sdist bdist_wheel"
allow_failure: true
on:
branch: master
condition: "${PYTHON} = 3.7"
skip_cleanup: true
- provider: pypi
user: pyiron
password: ${PYPI_TOKEN}
distributions: "sdist bdist_wheel"
allow_failure: true
on:
tags: true
condition: "${PYTHON} = 3.7"
skip_cleanup: true