forked from LSFLK/Copper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (30 loc) · 951 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: bash
sudo: required
services:
- docker
before_install:
- sudo apt-get update
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
before_script:
- cd copper-server/kubernetes/deployment
script:
- bash test_build.sh
# language: bash
# sudo: required
# services:
# - docker
# env:
# DOCKER_COMPOSE_VERSION: 1.21.1
# before_install:
# - sudo apt-get update
# - docker-compose --version
# - sudo rm /usr/local/bin/docker-compose
# - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
# - chmod +x docker-compose
# - sudo mv docker-compose /usr/local/bin
# before_script:
# - cd copper-server/docker
# script:
# - docker network create front
# - docker network create back
# - docker-compose build