forked from pyiron/pysqa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
84 lines (81 loc) · 3.14 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
matrix:
include:
- stage: test
name: test_linux_2_7
os: linux
language: python
env: MINICONDA="https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh" PYTHONVER="2.7"
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- wget ${MINICONDA} -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- conda info -a
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -y -c conda-forge python=${PYTHONVER} coverage defusedxml pandas yaml jinja2
- pip install --pre .
script:
- coverage run --omit pysqa/_version.py -m unittest discover tests
- name: test_linux_3_7
os: linux
language: python
env: MINICONDA="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" PYTHONVER="3.7"
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- wget ${MINICONDA} -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- conda info -a
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -y -c conda-forge python=${PYTHONVER} coverage coveralls defusedxml pandas yaml jinja2
- pip install --pre .
script:
- coverage run --omit pysqa/_version.py -m unittest discover tests
after_success:
- coveralls
- coverage xml
- pip install codacy-coverage
- python-codacy-coverage -r coverage.xml
deploy:
- provider: pypi
user: pyiron
password: ${PYPI_UPLOAD_TOKEN}
allow_failure: true
on:
branch: master
- provider: pypi
user: pyiron
password: ${PYPI_UPLOAD_TOKEN}
allow_failure: true
on:
tags: true
- name: test_osx_2_7
os: osx
language: generic
env: MINICONDA="https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh" PYTHONVER="2.7"
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- wget ${MINICONDA} -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- conda info -a
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -y -c conda-forge python=${PYTHONVER} coverage defusedxml pandas yaml jinja2
- pip install --pre .
script:
- coverage run --omit pysqa/_version.py -m unittest discover tests
- name: test_osx_3_7
os: osx
language: generic
env: MINICONDA="https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh" PYTHONVER="3.7"
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- wget ${MINICONDA} -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- conda info -a
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -y -c conda-forge python=${PYTHONVER} coverage defusedxml pandas yaml jinja2
- pip install --pre .
script:
- coverage run --omit pysqa/_version.py -m unittest discover tests