Skip to content

Commit

Permalink
Update travis.yml: migrate to container-based infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jul 22, 2015
1 parent 3a8e49c commit 6263d69
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
language: node_js

sudo: false

node_js:
- "0.12"

cache:
directories:
- node_modules

addons:
apt:
packages:
- graphicsmagick

before_install:
# Decrypt the private key
- openssl aes-256-cbc -K $encrypted_06b8e90ac19b_key -iv $encrypted_06b8e90ac19b_iv -in .travis/ssh_key.enc -out ~/.ssh/id_rsa -d
Expand All @@ -23,8 +34,6 @@ before_install:
install:
# Install Hexo
- npm install hexo-cli -g
# Install graphicsmagick
- sudo apt-get install graphicsmagick
# Install dependencies
- npm install --no-optional

Expand Down

0 comments on commit 6263d69

Please sign in to comment.