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:
|
||||
- redis
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- source scripts/travis-deps.sh
|
||||
@ -21,3 +22,4 @@ script:
|
||||
- make test
|
||||
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
||||
- make test-captplanet
|
||||
- make binaries
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -9,7 +9,7 @@ node('node') {
|
||||
}
|
||||
|
||||
stage('Build Images') {
|
||||
sh 'make test-docker images'
|
||||
sh 'make images'
|
||||
|
||||
echo "Current build result: ${currentBuild.result}"
|
||||
}
|
||||
@ -58,7 +58,7 @@ node('node') {
|
||||
finally {
|
||||
|
||||
stage('Cleanup') {
|
||||
sh 'make test-docker-clean clean-images'
|
||||
sh 'make clean-images'
|
||||
deleteDir()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user