-
Notifications
You must be signed in to change notification settings - Fork 22
/
circle.yml
35 lines (35 loc) · 966 Bytes
/
circle.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
machine:
environment:
GOOROT: /home/ubuntu/.gimme/versions/go1.8.linux.amd64
node:
version: 7.7.4
services:
- docker
- postgresql
- redis
dependencies:
cache_directories:
- "/home/ubuntu/.go_workspace"
- "/home/ubuntu/.gimme"
- "/home/ubuntu/.npm"
- "/home/ubuntu/libsysconfcpus"
- "/home/ubuntu/sysconfcpus"
- "/home/ubuntu/snaas/cmd/console/tests/elm-stuff"
override:
- ./infrastructure/scripts/dependencies
pre:
- echo "" > ~/.gitconfig
database:
override:
- PGPASSWORD=unicode psql -U ubuntu -d circle_test -f platform/pg/setup.sql -h 127.0.0.1
test:
override:
- ./infrastructure/scripts/execute-go-tests
# - ./infrastructure/scripts/execute-elm-tests
deployment:
docker:
branch: master
commands:
- ./infrastructure/scripts/build-container
- docker login -e ${DOCKERHUB_EMAIL} -p ${DOCKERHUB_PASSWORD} -u ${DOCKERHUB_USERNAME}
- docker push tapglue/snaas