-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
34 lines (27 loc) · 2.01 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
sudo: required
dist: bionic
language: python
python:
- "3.6"
- "3.7"
- "3.8"
install:
- pip install -e .
- stakkr-init
- pip install -r requirements-dev.txt
env:
global:
- TRAVIS_SECURE_ENV_VARS=true
- secure: "uXLZDwdYURs56lbpjSvWofL5BHt3IMfwWnssx5+XOzL4w9mPYjwkOk4RNPYLsKHNWLJ6Fm5tuzWZEC/NTibIEIq3G5XI8Fl9bs1HbvrS121CljDubwi2/0e5TB2Dy9F3T/0terB9qXw7Vi+y+88Eefmmgo+EpQqkXVPU6nA4BiH2UK1HNCWRlT5qzZwfpp4t7DHTrKkReuUZXYasp2Squ7UscnuHU8gjr9BORUvFR/rPGJP2IPsqWQZbE1ihEOArjcfhSBueYd+AThRq3jrry4cQp6AzI3Crl/LObarzmI3UQSFodAyo+afe1Iy+4GMH+sOfEPwJCKp4hHX9E4StLIxkl6r3d4yv2bZ/I7F5q5HhXQ5AoZw7qPcjK5+RS2MsYNCnDMkRLfW/h9LF6p2Eh5t9cqMV45mPHqq8lZAppI+6aCY/mSt6IaQ8jmandvW7h3tJNCv7tUKTFvE1Th8WElVhVESfecucscSy6cn/za7kpTDsnTcteosswx/PF1Bt4meEyzquDADeCvCVtlwlkmeN1asRGjzY3HNuqHucBosSMDu/6QYJS50DrQXp4s29HHMT/4v104ZBCFfYFvo+QDXzfu2exjg7oMdSHPZUhjUoXdmJvHpPSLFnKNb1dHbEzgnkDmttEReUNPCAfcEM23TmWJUvgRbHbddQwW4o+YY="
notifications:
slack:
secure: "WQ3nL18fuiSF6GvOle6AKlod4t5C5pSvTFsOC1jVMoX05rYYMbp0I1LW77y1aoAsns2ccZZAL3zleH2R11OzCpZmLCPxnTw/3/P8KXYGlbPbjvPrZhMIHQ1xk3pwmsq95bTry1LzxdfEhjuyn1ZCuPwLNBA0Em8L8w8DnI4XxP/YewQdUTdnIMZXWMpWOhyS2gpbJz7E3gh8+Jc2TeAkeOAo9hRJpNJYCo2Iybl+zPBdZm25T00paKEVgxRo2l2ocRkWuUa6dShi5U4UfnuytGnOa8KK3HZQlH7g72cijidf/h7LVNE0ItBET1P+zWdxLSuzQEZ053UnaYBvrdxKCG3Xa9qOGDyV8mqQ/LSCfe0prDyw7X116zfAeVMQ7NxdbSK3TbIVI0Y9SlJ5/aj4Ux3SeLC8PU4icKFM+lRpJMoTICUeVroQ+0+dZqK91Gr38NA79q0km00hnAhzNHfUgXj2/GewhsyoXa66PXrgIB0U9EI5QrTvvv0ZOP6NSIrsr01HUYIvZFUB2qI4dybMb/a2rQExkP0tq5ULy4Q7r7trGciF9YHe75QOV7YmaiHU4iz7ugd3UIoPwxSKVFm/zYSMoipzY202GoWgtgiX/uf3/PMXYw1H5i+hXFWGWHvf+9w+/rtlOqPT1Rk+ibQt56HKd0nsB3Fj3T0cY0YdAzc="
before_script:
- 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
# command to run tests
script: py.test --no-cov --capture=tee-sys
after_script:
- coverage xml
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi