From cbc72e29fd013fef8e7276364464db1442e9ddc1 Mon Sep 17 00:00:00 2001 From: Franck Verrot Date: Sat, 6 Oct 2018 20:50:14 -0700 Subject: [PATCH] Wrap up scripts in Rakefile 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. --- .travis.yml | 3 --- Rakefile | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Rakefile diff --git a/.travis.yml b/.travis.yml index bcdbfb0..c7513fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..da897d1 --- /dev/null +++ b/Rakefile @@ -0,0 +1,4 @@ +task :default do + system("./scripts/build_image && ./scripts/run_tests") + exit $?.exitstatus +end