forked from galaxyproject/ephemeris
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (37 loc) · 919 Bytes
/
.travis.yml
File metadata and controls
42 lines (37 loc) · 919 Bytes
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
language: python
matrix:
include:
- python: 2.7
env: TOX_ENV=py27-lint
- python: 3.5
env: TOX_ENV=py35-lint
- python: 2.7
env: TOX_ENV=py27-lint-readme
- python: 3.5
env: TOX_ENV=py35-pytest
install:
- pip install tox
- pip install codacy-coverage
services:
- docker
script:
- tox -e $TOX_ENV
# Only run if CODACY_PROJECT_TOKEN is defined.
# This is not the case for pull requests outside of galaxyproject/ephemeris
- bash -c 'if [[ -v CODACY_PROJECT_TOKEN ]] ; then python-codacy-coverage -r coverage.xml; fi'
- python: 2.7
env: TOX_ENV=py27-pytest
services:
- docker
- python: 2.7
env: TOX_ENV=py27
services:
- docker
- python: 3.5
env: TOX_ENV=py35
services:
- docker
install:
- pip install tox
script:
- tox -e $TOX_ENV