This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
47 lines (40 loc) · 3.34 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
language: python
dist: xenial
sudo: required
services:
- docker
python:
- '3.7.1'
env:
global:
# sentry auth
- secure: "NN53FLsPD7CvoiKxzWHjIY9PpILk67Xi0Y3cPCrZQLJr8nDCk8kdgj/L/PlAoH2/hCAW/xhmBz0XA10zEmeXdVYPpfGR1tIWdrRpakNNNvoaQSaMd3ILfU+g8oL0oYLFGHlIGYvlqf6XtJ6ZthGIiquxNkKGHKLV+4xWs980Xws/t6XZdkO/9A4fPt5uiNSj7GW3ofn540Cyqrud/dROWDhcwtTXcnbzscLHW+0++EUA4z9bBFwyeoDxtmC/nnI2bJxUY49yJ6+4cpVAZcsDrEWyGA7oTUPHi78NrffS8/GdsoXb75TtQczGXquNXTzCuf75QLTZyj4BIi3GI18sakHvjfswDv2JPLnXEW/OtIWcpym/uWSYkQucwmrZ4c0F9Fp70qMc+FQyBMqdoYSpXkKD/Ou7MDci0PGD4s8tOhkwBT1sLvKBqpsq8YQ0Tgt80Z871wbihiLYFQkdbBBzFLPiua8Gdw41WKcFRYIbial4rnau2Mk2dlXUHGJLZTtqvKva1Yf4SI+zNE0L2Ac97dZ/b1MFYq0A6cOz764lupHxrHsagSVX86f+tC55d/OZWz9/K3RQBqksS4LoDMMu/4a4dZJg786YE9JlWpk9wCZkj28PhiCmWe9kEmE9tHOJDSXNbiI3GGDuUn5itRSxpuTp/45BCxZwS68Hx54j1aA="
# Docker username and password
- secure: "BjN9fOnOc+P89XAVPQpp4sedQsqPCz0IRlqohcBvM+azf5XOWcZXIEQwKolNjO888/kylO/W6HQF0uzjZqjcNDX5fBS56rOX685ELlGba3I8022xDG2IIJr7Ihc8EtILgDX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jq+9EJ6RwQM+ZD9pdlRbGcfyvDIfvmraPceQ7anN9JDgJiq4neuK2CxNlypV4F6tCbDuOqB/FXLoh1JNa/FjHVIlsmNKMt0v6f9DMj8ZXYB739jNwYyELSdIn27mJOn9S+k/Bjk6T8K88SDy4s3zRNpr98k4yJs4MmivVqNx/6Wk="
- FLASK_ENV=development
install:
- pip install pipenv
- pipenv install --dev
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- echo $PYTHONPATH
- export MODE=CI
script:
- flake8
- nosetests tests --with-coverage
after_success:
- codecov
- echo $(pwd)
deploy:
- provider: script
script: bash deploy/travis.sh
on:
python: '3.7.1'
tags: true
notifications:
slack:
rooms:
- secure: xsGLjigcoVbbQljrB91BZ5VnXchIr0oxEgvW5QiKnHUqMNLZYctD5Dl3eLis3U1nThPmspt0CbSuCag9QuFK+f36h8yBJtCAEVJvEYpt+BRTwWYiw9fBT8SgLmilVInwF1SH5u6Zr+KTRDR3QXOG7ZwpFUa6zZ3yYNbKGXyFGD0vLMnwgBqIdCEYmA4ryurvg6yngr6iTv9OctRqeGDWprlhyIrmP4lnn0SnGuks9zxW39AzX1234JM05ys4UwbMno0j5zlY+uECSYJkW/WV4UtSdJQeF6+2qcguveNswh1w+Otlts471hWRbPZfFHbCHJlnTM7x2HeG1IuLe8yhZHiwclxPtYPln5p4kTtgCON9gXNKpDSeXoAYJbPF2K5k9B/732GlKhilEqEnD06z281PezAZ8HmPaprFA4/fVFQQ9Yqvwk4SKNEh1SUfTBfYSMY0XZoXz/sZ898hJAV4GQ5ImEog1cZnFdD9kqJl1zIu+FSTtDY5PqfSUn+iFeEJbo6gBsPyKrdgNaN/1hvLnthudiSW+E1DNIF1nxZ/lA4dQdOp0tSCR3nj5XZMKgJgAyZAUD2mXGPZAJUamSnxHRzPFurD+54mqMcWFxLp3Y0lNuBdez5l9SjdH+ZagYpvdTZ1aeAEmVpvCgSrcb8voKmH4J2bFTHEQ1rdUQyD+tE=
on_success: always # you can also set to `change`
on_failure: always