forked from kaufland-ecommerce/esque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 2.48 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
48
dist: xenial
language: python
cache: pip
env:
- TEST_CMD="pytest tests/ --integration"
before_install:
- wget https://mirror.netcologne.de/apache.org/kafka/2.2.0/kafka_2.12-2.2.0.tgz -O kafka.tgz
- mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1
- nohup bash -c "cd kafka && bin/zookeeper-server-start.sh config/zookeeper.properties &"
- nohup bash -c "cd kafka && bin/kafka-server-start.sh config/server.properties &"
- scripts/wait-for-it.sh localhost:9092
- scripts/wait-for-it.sh localhost:2181
install:
- pip install coverage coveralls flake8 pipenv
- pipenv install --system --dev --deploy
script:
- "$TEST_CMD"
after_success:
- coveralls
notifications:
slack:
rooms:
- secure: XyYngWgCIHTAF5LNarBdEA56rJvVzm8epTf3eyw40iKZcLnn/UKOxzCO6m+oo9yers1kfrUOUfrDIYjEQJoqldTh+ocLB4O0t+y+03qkie2va/ZHP4cmRl6KpAH5jM94zJfPhBAPZ2m57B/qFuAIZZmyn8mq0FTfmksKNvDbE5e8eBVu2rLsmdRQ6hkztCncwefwDHQ19k1S5Br2O/q8qekUNQRtKeGCgia4Rk1xptN9qccWzVV8426M3FdnttNSv7gO86J7OF+t3RWoow3kzCLrFFF2A+s9/NNbCL3sc6cDIjMOx4yig2b764ApUH4VrGXGF2FbeuEly7C8mR8ciunzzOAC08xpwzTae9gics9iqp7u23q5DD3dywYwApcG3jPShShP/3zdSU+MnC9r/YM+IwZdNFPo/Wqz9eTiNs7SVwCCeWdluT4iV24bGciVIye3OCseLmR/LmNnrLsGMGyTeKSwfr08RIlIqIL+DtsdIHS7Xdl3l9wNPVxLDp2yopI/0JS/85x5snaXS3nTAFefOhrqFWOhw5NCuCjRPB2njo3tpBB25TRsr2bvaSZ5nJRk1Uh+tbzayAyNPXQmxGre5j3mR5lm00CofMj8809bdaFFHqPl+L88p0Y6gn8Jc2pFKYcguc91jQhTU9KiP/QDaUb9K/TJlW1Pe2egK50=
on_success: change
on_failure: always
matrix:
include:
- name: black
python: 3.7
env:
- TEST_CMD="black --check --verbose ."
- name: flake8
python: 3.7
env:
- TEST_CMD="flake8 esque/"
- name: '3.6'
python: 3.6
- name: '3.7'
python: 3.7
deploy:
provider: pypi
user: real.digital
on:
tags: true
condition: $TRAVIS_PYTHON_VERSION == '3.6'
repo: real-digital/esque
password:
secure: L7lAviuPS2FijT/t01t0SVHuxfl3/6jcSU3anWkcJdWsa9ktujvdJ6QoX0VE+niUyAwnJ6HJUNWloG1EuuRPiaVO+vIU0t39oKtP/3KKGz6zQPme4p0tpgxvPCjxzBxlaj3zs+3KlfqT7ig5EllgLcAkyCmMpvYgpPY8pCsIY/ipZ+zzQvrA9glCQex9LPhdWH7yaHgx9eGM/dQumn9J/+/CtEkbxLpmw/WHRahCgoODFBMQjTQsVleiHZqedx7gQsSD7lqbdsUkBujawdYIrGnBVIjMdqXT7nQPbKmntKf+5GMcPdFaOqgciQYYgIRLixP1JWPoHzTvsmp0Jfmd8/4u4Eh/zLOKjdsdlNk/X2hNYae+YvKXMSwYqY33cDezsIpkvbz+Vfu3Ch97c2pmp3pSTTkcxKMqnoQJ3aqZENveCPOgfb3PSrzwYBKENaFLZ45l9eU1CPgCNNa7oX/CA1+kb1wY6AMCLW4ZxOe4I3EoUpNyn4lOIEkeOsHIB5d9DJvphd5UrFgUdnADzsnAsr38Gq+Haz9YmaXscUIRvQR27HDqCwfsSn9XPkdwImIjzhPrgM5kGXm0UPsf7nGZiYwEuB2fDTji4YneDhCF4aCKzr7Txlo1BtWp5ue6kbjCARBkwgCO/uHkl8AYos/tUmZe6vl6p3kwYf8sl3i9bOs=