diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-02-12 00:44:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-02-12 00:57:03 +0300 |
commit | 18da637890c6e1083ebdf9b87da7736e4e357470 (patch) | |
tree | edfda6a2ab2eb489b80e295f833f369c757ecf0a /.travis.yml | |
parent | remove unused stuff: posts, comments, sidebar, etc. (diff) | |
download | sorting-algorithms-18da637890c6e1083ebdf9b87da7736e4e357470.tar.gz sorting-algorithms-18da637890c6e1083ebdf9b87da7736e4e357470.zip |
Travis: add configuration
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4e6f0dc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +os: linux +dist: bionic +language: ruby + +# Travis doesn't build gh-pages by default: +# https://docs.travis-ci.com/user/customizing-the-build/#building-specific-branches +branches: + only: + - gh-pages + - /.*/ + +jobs: + fast_finish: true + + include: + - stage: Build + name: Build using Bundler + install: bundle install --jobs=3 --retry=3 + script: bundle exec jekyll build --config _config.yml,_config_dev.yml --drafts + - name: Build using latest github-pages + install: + # `jekyll build` seems to be using Bundler if Gemfile is present: + - rm -f -- Gemfile Gemfile.lock + - gem install github-pages + script: jekyll build |