forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (35 loc) · 806 Bytes
/
.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
language: python
matrix:
include:
- python: 2.7
dist: trusty
sudo: false
- python: 3.4
dist: trusty
sudo: false
- python: 3.5
dist: trusty
sudo: false
- python: 3.6
dist: trusty
sudo: false
- python: 3.7
dist: xenial
sudo: true
- python: 3.8
dist: xenial
sudo: true
before_install:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
echo "No pull requests can be sent to the master branch" 1>&2;
exit 1;
fi
- pip install codecov
install:
- python scripts/ci/install
- python scripts/ci/install-check
script:
- python scripts/ci/run-tests
- python scripts/ci/run-check
after_success:
- rm tests/coverage.xml && mv tests/.coverage ./ && codecov