forked from ForensicArtifacts/artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1.19 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
language: python
virtualenv:
system_site_packages: true
matrix:
include:
- env: TARGET="pylint"
os: linux
dist: trusty
sudo: required
group: edge
python: 2.7
- env: TARGET="linux-python27"
os: linux
dist: trusty
sudo: required
group: edge
python: 2.7
- env: TARGET="linux-python34"
os: linux
dist: trusty
sudo: required
group: edge
python: 3.4
- env: [TARGET="linux-python27-tox", TOXENV="py27"]
os: linux
dist: trusty
sudo: required
group: edge
python: 2.7
- env: [TARGET="linux-python34-tox", TOXENV="py34"]
os: linux
dist: trusty
sudo: required
group: edge
python: 3.4
- env: [TARGET="macos-python27", PYTHONPATH="/Library/Python/2.7/site-packages/"]
os: osx
osx_image: xcode9.2
language: generic
allow_failures:
- env: TARGET="linux-python34"
- env: [TARGET="macos-python27", PYTHONPATH="/Library/Python/2.7/site-packages/"]
install:
- ./config/travis/install.sh
script:
- ./config/travis/run_with_timeout.sh 30 ./config/travis/runtests.sh
after_success:
- if test ${TARGET} = "linux-python27"; then curl -o codecov.sh -s https://codecov.io/bash && /bin/bash ./codecov.sh; fi