From 541d45f82a39038b11d798093c989591f3c8ddee Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 27 Dec 2018 17:08:35 +0100 Subject: [PATCH] Add files for Travis CI (#696) Implement Travis CI. --- .travis.yml | 11 +++++++++++ build.sh | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 .travis.yml create mode 100755 build.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e69de1c9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: ruby +rvm: + - 2.4.1 + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +script: ./build.sh + +sudo: false # route your build to the container-based infrastructure for a faster build + +cache: bundler # caching bundler gem packages will speed up build diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..ebe27b86 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -e # halt script on error + +bundle exec jekyll build