Skip to content

Commit

Permalink
Wrap up scripts in Rakefile
Browse files Browse the repository at this point in the history
The base image is built on top of the Ruby worker, so to make it work
I'll just wrap up the scripts in a Rakefile for now.
  • Loading branch information
franckverrot committed Oct 7, 2018
1 parent d06f492 commit cbc72e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Expand Up @@ -8,13 +8,10 @@ addons:
services:
- docker
stages:
- build image and run tests
- name: deploy
if: tag =~ ^v
jobs:
include:
- stage: build image and run tests
script: ./scripts/build_image && ./scripts/run_tests
- stage: deploy
script: ./scripts/deploy
env:
Expand Down
4 changes: 4 additions & 0 deletions Rakefile
@@ -0,0 +1,4 @@
task :default do
system("./scripts/build_image && ./scripts/run_tests")
exit $?.exitstatus
end

0 comments on commit cbc72e2

Please sign in to comment.