2015-04-16 03:44:14 +00:00
|
|
|
machine:
|
2015-08-18 03:27:43 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2016-05-17 22:38:41 +00:00
|
|
|
environment:
|
|
|
|
GODIST: "go1.6.2.linux-amd64.tar.gz"
|
|
|
|
post:
|
|
|
|
- mkdir -p download
|
|
|
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
|
|
|
- sudo rm -rf /usr/local/go
|
|
|
|
- sudo tar -C /usr/local -xzf download/$GODIST
|
|
|
|
|
2015-02-25 20:09:37 +00:00
|
|
|
|
2015-04-16 03:44:14 +00:00
|
|
|
dependencies:
|
2015-08-18 03:27:43 +00:00
|
|
|
cache_directories:
|
|
|
|
- "~/docker"
|
2016-05-17 22:38:41 +00:00
|
|
|
- ~/download
|
2015-12-03 16:44:17 +00:00
|
|
|
override:
|
|
|
|
- ./test.sh save:
|
|
|
|
# building the docker images can take a long time, hence caching
|
|
|
|
timeout: 1800
|
|
|
|
|
2015-02-25 20:09:37 +00:00
|
|
|
test:
|
|
|
|
override:
|
2015-04-16 03:44:14 +00:00
|
|
|
- bash circle-test.sh:
|
2015-04-13 20:18:12 +00:00
|
|
|
parallel: true
|