Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
ace8253c
Commit
ace8253c
authored
Jan 19, 2016
by
Eric Chiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #279 from dghubble/master
travis: Change from after_success script to travis deploy
parents
bfe53e0b
cf0c2afa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
.travis.yml
.travis.yml
+16
-10
No files found.
.travis.yml
View file @
ace8253c
...
...
@@ -5,24 +5,30 @@ services:
language
:
go
go
:
-
1.4.3
-
1.5.3
-
1.4.3
-
1.5.3
env
:
-
DEX_TEST_DSN="postgres://postgres@127.0.0.1:15432/postgres?sslmode=disable" ISOLATED=true
install
:
-
go get golang.org/x/tools/cmd/cover
-
go get golang.org/x/tools/cmd/vet
-
docker pull quay.io/coreos/postgres
-
go get golang.org/x/tools/cmd/cover
-
go get golang.org/x/tools/cmd/vet
-
docker pull quay.io/coreos/postgres
script
:
-
docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres
-
./test
-
./test-functional
-
docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres
-
./test
-
./test-functional
after_success
:
-
if [[ "$TRAVIS_GO_VERSION" == "1.5.3" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi
deploy
:
provider
:
script
script
:
build-docker-push
skip_cleanup
:
true
on
:
branch
:
master
go
:
'
1.5.3'
condition
:
"
$TRAVIS_PULL_REQUEST
=
false"
notifications
:
email
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment