Skip to content

Instantly share code, notes, and snippets.

@tibotiber
Last active October 5, 2016 15:29
Show Gist options
  • Save tibotiber/d59ce8a94b58491c9494e04ef49b2059 to your computer and use it in GitHub Desktop.
Save tibotiber/d59ce8a94b58491c9494e04ef49b2059 to your computer and use it in GitHub Desktop.
Medium post content (8/8/2016)
language: node_js
node_js:
- 4.3.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
addons:
ssh_known_hosts: webhost.planecq.xyz
branches:
only:
- master
- staging
before_install:
- rvm install 2.2.2
- openssl aes-256-cbc -K $encrypted_b0b2958c016f_key -iv $encrypted_b0b2958c016f_iv -in .travis/travis_rsa.enc -out ~/.ssh/travis_rsa -d
- chmod 600 ~/.ssh/travis_rsa
install:
- gem install html-proofer
- npm install -g gulp
- npm install
script:
- gulp build && gulp test
deploy:
skip_cleanup: true
provider: script
script: .travis/deploy.sh
on:
all_branches: true
notifications:
email: false
slack:
secure: rWg9[...]x69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment