Added travis CI

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-25 20:24:33 +01:00
parent 97b5ddb981
commit d93df4bdca
4 changed files with 42 additions and 0 deletions

24
.travis.yml Normal file
View File

@ -0,0 +1,24 @@
language: ruby
rvm:
- 2.3.3
addons:
ssh_known_hosts: wolf.uberspace.de
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
sudo: false
script: jekyll build && htmlproofer ./_site
before_deploy:
- openssl aes-256-cbc -K $encrypted_518a90de15e0_key -iv $encrypted_518a90de15e0_iv
-in deploy_ed25519.enc -out deploy_ed25519 -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_ed25519
- ssh-add /tmp/deploy_ed25519
deploy:
provider: script
skip_cleanup: true
script:
- rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/.ssh martens7@wolf.uberspace.de:tmp/$TRAVIS_BUILD_ID
- ssh martens7@wolf.uberspace.de rm -rf tmp/old.build && mkdir tmp/old.build && mv html/* tmp/old.build/ && mv tmp/$TRAVIS_BUILD_ID/* html/
on:
branch: master

View File

@ -2,6 +2,7 @@ source 'https://rubygems.org'
# gem 'github-pages', group: :jekyll_plugins
gem 'activesupport'
# gem 'github-pages-health-check'
gem 'html-proofer', group: :development
gem 'jekyll'
group :jekyll_plugins do
gem 'autoprefixer-rails'

View File

@ -19,6 +19,7 @@ GEM
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
colorize (0.8.1)
commonmarker (0.17.7.1)
ruby-enum (~> 0.5)
concurrent-ruby (1.0.5)
@ -36,6 +37,15 @@ GEM
html-pipeline (2.7.1)
activesupport (>= 2)
nokogiri (>= 1.4)
html-proofer (3.7.6)
activesupport (>= 4.2, < 6.0)
addressable (~> 2.3)
colorize (~> 0.8)
mercenary (~> 0.3.2)
nokogiri (~> 1.8.1)
parallel (~> 1.3)
typhoeus (~> 0.7)
yell (~> 2.0)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
jekyll (3.6.2)
@ -162,6 +172,7 @@ GEM
mini_portile2 (~> 2.3.0)
octokit (4.7.0)
sawyer (~> 0.8.0, >= 0.5.3)
parallel (1.12.1)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
popper_js (1.12.9)
@ -194,6 +205,7 @@ GEM
tzinfo (1.2.4)
thread_safe (~> 0.1)
unicode-display_width (1.3.0)
yell (2.0.7)
PLATFORMS
ruby
@ -202,6 +214,7 @@ DEPENDENCIES
activesupport
autoprefixer-rails
bootstrap (~> 4.0.0.beta2)
html-proofer
jekyll
jekyll-assets
jekyll-avatar

4
deploy_ed25519.enc Normal file
View File

@ -0,0 +1,4 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>$w<><77><EFBFBD>
<EFBFBD>u*Uf۷4<DBB7><34><EFBFBD>V?<3F><>q<EFBFBD>c<EFBFBD>K!<07><>+<2B>h <09>B <0B>GS<47>-<2D>'<19><>@<40>*<2A>P<11>:<3A>-<2D><>g<EFBFBD>q<EFBFBD>s<EFBFBD><73> ,"U@C<><11>7a<37>~<7E>LӚ^<5E>m<><19>>|F<1C><>8<EFBFBD><38> 㦭&<26>3G<33>akjù<6A>O<EFBFBD>#<23><11>VYv&
<EFBFBD>;<3B>d<<19><>_<EFBFBD>1N<31>>><1A><><EFBFBD><13>Lcc ><3E>y<EFBFBD><79><EFBFBD><EFBFBD>f3<66><10><>H<EFBFBD><48>z
<EFBFBD>