Clean up Travis and Jenkins (#353)
* Make travis do what Jenkins will do. Make Jenkins not do what Travis does. * Enable docker in travis
This commit is contained in:
parent
3399376eb2
commit
0567f9cb57
@ -8,6 +8,7 @@ git:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- redis
|
- redis
|
||||||
|
- docker
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source scripts/travis-deps.sh
|
- source scripts/travis-deps.sh
|
||||||
@ -21,3 +22,4 @@ script:
|
|||||||
- make test
|
- make test
|
||||||
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
||||||
- make test-captplanet
|
- make test-captplanet
|
||||||
|
- make binaries
|
||||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -9,7 +9,7 @@ node('node') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Images') {
|
stage('Build Images') {
|
||||||
sh 'make test-docker images'
|
sh 'make images'
|
||||||
|
|
||||||
echo "Current build result: ${currentBuild.result}"
|
echo "Current build result: ${currentBuild.result}"
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ node('node') {
|
|||||||
finally {
|
finally {
|
||||||
|
|
||||||
stage('Cleanup') {
|
stage('Cleanup') {
|
||||||
sh 'make test-docker-clean clean-images'
|
sh 'make clean-images'
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user