-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
32 lines (32 loc) · 970 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
language: go
script:
- make test
- goveralls -coverprofile service/service.coverprofile $COVERALLS_TOKEN
services:
- mongodb
addons:
postgresql: "9.3"
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
install:
- go get -v ./...
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/onsi/gomega
- go get github.com/onsi/ginkgo/ginkgo
- go install github.com/onsi/ginkgo/ginkgo
- go get code.google.com/p/go.tools/cmd/cover
- go get -u github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- export API_ROOT="http://api.databr.io"
- export MONGO_DATABASE_NAME="databr"
- export MONGO_URL="mongodb://localhost"
- export PORT=3002
- export ENV="test"
- export STATUSPAGEIO_ENABLE="false"
- export MEMCACHE_URL="dev:11211"
- export DATABASE_URL="postgres://postgres@localhost/travis_ci_test?sslmode=disable"
- export INFLUXDB_ENABLE="false"
- export PRIVATE_KEY="s"
go:
- 1.3
- tip