-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
86 lines (70 loc) · 1.89 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
85
86
language: python
sudo: true
dist: xenial
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.7-dev"
- "3.8-dev"
- "pypy3.5"
virtualenv:
system_site_packages: false
services:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
before_script:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install -r requirements.tests.txt
- pip install -U coveralls
- pip install -e .
script:
- py.test --pep8 --cov=dregcli --cov-report=html -v --ignore dregcli/tests/tests_integration/
jobs:
include:
- stage: "Integration Tests"
name: "Python: 3.4"
if: branch = master AND type != pull_request
python: "3.4"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: 3.5"
if: branch = master AND type != pull_request
python: "3.5"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: 3.6"
if: branch = master AND type != pull_request
python: "3.6"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: 3.7"
if: branch = master AND type != pull_request
python: "3.7"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: 3.7-dev"
if: branch = master AND type != pull_request
python: "3.7-dev"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: 3.8-dev"
if: branch = master AND type != pull_request
python: "3.8-dev"
script:
- dregcli/tests/tests_integration/start.sh
- name: "Python: pypy3.5"
if: branch = master AND type != pull_request
python: "pypy3.5"
script:
- dregcli/tests/tests_integration/start.sh
after_success:
coveralls --data_file=.coverage --config_file=.coveragerc