forked from pingginp/cqlc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (40 loc) · 1.07 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
sudo: required
language: go
services:
- docker
matrix:
fast_finish: true
env:
global:
# TODO: why need this?
- GOMAXPROCS=2
- DOCKER_COMPOSE_VERSION=1.22.0
matrix:
- CASS=2.2.1
# - CASS=3.11
go:
- "1.10"
# - "1.11"
# - "tip"
before_install:
- 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
- curl -sSL https://github.com/Masterminds/glide/releases/download/v0.13.1/glide-v0.13.1-linux-amd64.tar.gz | tar -vxz -C ${GOPATH}/bin --strip=1
# FIXME: workaround for gopath
- mkdir -p ${GOPATH}/src/github.com/relops/cqlc
- cp -r ./. ${GOPATH}/src/github.com/relops/cqlc
- cd ${GOPATH}/src/github.com/relops/cqlc
install:
# - pip install --user PyYAML six
# - git clone https://github.com/pcmanus/ccm.git
# - pushd ccm
# - ./setup.py install --user
# - popd
- glide install
- make install
script:
- make test
# e2e
- make travis-test