forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (29 loc) · 700 Bytes
/
.travis.yml
File metadata and controls
30 lines (29 loc) · 700 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
language: python
matrix:
include:
- python: 2.7
dist: trusty
- python: 3.4
dist: trusty
- python: 3.5
dist: trusty
- python: 3.6
dist: trusty
- python: 3.7
dist: xenial
- python: 3.8
dist: xenial
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