-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (21 loc) · 745 Bytes
/
Copy path.travis.yml
File metadata and controls
27 lines (21 loc) · 745 Bytes
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
sudo: required
language: python
cache: pip
services:
- docker
python:
- "3.6"
before_install:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- sudo apt-get update -y && sudo apt-get install -y curl
- sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
- sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
install:
- pip install mypy mypy-protobuf grpcio-tools grpcio
script:
- make all -B
# Try and build all the containers in docker-compose
- bash deploy_to_docker_hub.sh
# Try and test each microservice
# - if [ "$AUTH" == 1 ]; then mypy auth --strict; fi