From a7a00a69a01a1c72983e1aa984e7681354bac9bf Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 16:38:30 +0100 Subject: [PATCH 1/5] Create ci_build --- .github/ci_build | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .github/ci_build diff --git a/.github/ci_build b/.github/ci_build new file mode 100644 index 00000000..ebe27b86 --- /dev/null +++ b/.github/ci_build @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -e # halt script on error + +bundle exec jekyll build -- 2.47.2 From 603b4e19f071c40cd4273800417a7229d1ccfd27 Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 16:40:11 +0100 Subject: [PATCH 2/5] Create .travis.yml --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e2757709 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: ruby +rvm: + - 2.4.1 + +before_script: + - chmod +x ./script/cibuild # or do this locally and commit + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +script: ./script/cibuild + + +sudo: false # route your build to the container-based infrastructure for a faster build + +cache: bundler # caching bundler gem packages will speed up build + +# Optional: disable email notifications about the outcome of your builds +notifications: + email: false -- 2.47.2 From ce34fbbca079fbf9b1ba0506c910c3cc2dd80a3d Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 16:41:40 +0100 Subject: [PATCH 3/5] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2757709..da862775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,11 @@ rvm: - 2.4.1 before_script: - - chmod +x ./script/cibuild # or do this locally and commit + - chmod +x ./.github/ci_build # or do this locally and commit # Assume bundler is being used, therefore # the `install` step will run `bundle install` by default. -script: ./script/cibuild +script: ./.github/ci_build sudo: false # route your build to the container-based infrastructure for a faster build -- 2.47.2 From 5ccb4ad879c2dfd11354e769bf2edab5930eda7d Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 16:45:40 +0100 Subject: [PATCH 4/5] Remove notifications section --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index da862775..0c608e75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,3 @@ script: ./.github/ci_build sudo: false # route your build to the container-based infrastructure for a faster build cache: bundler # caching bundler gem packages will speed up build - -# Optional: disable email notifications about the outcome of your builds -notifications: - email: false -- 2.47.2 From c47370dde0992e29fa981b782a3afa4537940b60 Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 17:03:32 +0100 Subject: [PATCH 5/5] Move build.sh --- .travis.yml | 6 +----- .github/ci_build => build.sh | 0 2 files changed, 1 insertion(+), 5 deletions(-) rename .github/ci_build => build.sh (100%) mode change 100644 => 100755 diff --git a/.travis.yml b/.travis.yml index 0c608e75..e69de1c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,9 @@ language: ruby rvm: - 2.4.1 -before_script: - - chmod +x ./.github/ci_build # or do this locally and commit - # Assume bundler is being used, therefore # the `install` step will run `bundle install` by default. -script: ./.github/ci_build - +script: ./build.sh sudo: false # route your build to the container-based infrastructure for a faster build diff --git a/.github/ci_build b/build.sh old mode 100644 new mode 100755 similarity index 100% rename from .github/ci_build rename to build.sh -- 2.47.2