-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 961 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
dist: xenial
language: python
python: 3.7
notifications:
email: false
install:
- pip install tox-travis
- pip install -r requirements-test.txt
- mkdir ~/.aws
- printf "[default]\nregion = us-east-1\n[profile no-region]" > ~/.aws/config
- printf "[default]\naws_access_key_id=XXXXXXXXXXXXXX\naws_secret_access_key=YYYYYYYYYYYYYYYYYYYYYYYYYYY\n" > ~/.aws/credentials
before_script:
- sudo rm -f /etc/boto.cfg # https://github.com/travis-ci/travis-ci/issues/7940#issuecomment-310759657
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- tox
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
provider: pypi
distributions: sdist bdist_wheel
skip_upload_docs: true
user: boroivanov
password: $PYPI_PASS
on:
tags: true
repo: boroivanov/ecr-tools