aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-02-12 00:16:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-02-12 00:53:02 +0300
commit0979848fc9d3df8283fb756366369a32dd5cd34e (patch)
tree978bccb196471ee4aa7ca1464fe93b3d4f2bc297
parentrenamed layout 'plain' to 'default' (diff)
downloadegor-tensin.github.io-0979848fc9d3df8283fb756366369a32dd5cd34e.tar.gz
egor-tensin.github.io-0979848fc9d3df8283fb756366369a32dd5cd34e.zip
Travis: add configuration
-rw-r--r--.travis.yml17
-rw-r--r--_config.yml1
2 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..cab652d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+os: linux
+dist: bionic
+language: ruby
+
+jobs:
+ fast_finish: true
+
+ include:
+ - name: Build using Bundler
+ install: bundle install --jobs=3 --retry=3
+ script: bundle exec jekyll build
+ - 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
diff --git a/_config.yml b/_config.yml
index c6bfc30..10568e0 100644
--- a/_config.yml
+++ b/_config.yml
@@ -2,6 +2,7 @@ plugins:
- jekyll-github-metadata
exclude:
+ - .travis.yml
- build.sh
- Gemfile
- Gemfile.lock