-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
27 lines (27 loc) · 1013 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
language: python
dist: xenial
sudo: required
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libtool
- openssl aes-256-cbc -K $encrypted_84a2848b3b48_key -iv $encrypted_84a2848b3b48_iv -in tests/leadpages-8687295e9cc6.json.enc -out leadpages-8687295e9cc6.json -d
- wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-272.0.0-linux-x86_64.tar.gz -O /tmp/gcloud.tar.gz
- tar -xvf /tmp/gcloud.tar.gz -C $HOME
- export PATH=$HOME/google-cloud-sdk/bin:$PATH
- export GOOGLE_APPLICATION_CREDENTIALS="leadpages-8687295e9cc6.json"
- gcloud -q components install beta cloud-datastore-emulator
- gcloud -q beta emulators datastore start --no-store-on-disk --consistency 1.0 &
- sleep 15 && eval $(gcloud beta emulators datastore env-init)
install:
- pip install tox-travis
script:
- tox
addons:
code_climate:
repo_token: 1ae0e51788ad23c845e353566a8b245c4c2929035709105e2b8407d6ae2e2b51