Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Commit

Permalink
Fix release stuff for travis (#196)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Stratton <[email protected]>
  • Loading branch information
mattstratton committed Feb 5, 2017
1 parent 02322e4 commit 8450ae1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,16 @@ before_install:
- sudo apt-get install npm
before_script:
- cd exampleSite
- npm install mocha
- npm install chai
- npm install -g casperjs
- npm install -g mocha-casperjs
- npm install -g casper-chai

script:
- "$TRAVIS_BUILD_DIR/bin/hugo version"
- "$TRAVIS_BUILD_DIR/bin/hugo"
- npm version
- phantomjs --version; casperjs --version


before_deploy:
- cd $TRAVIS_BUILD_DIR
- mkdir -p release
- zip -r release/devopsdays-theme-$TRAVIS_TAG.zip . -x \*.git\* \*exampleSite\* appveyor.yml \*.travis.ci\* \*tests\* \*bin\* \*build\* \*release\* config.codekit3 \*bower_components\* bower.json gulpfile.js netlify.toml package.json STYLE.md */node_modules/*
- zip -r release/devopsdays-theme-$TRAVIS_TAG.zip . -x \*.git\* \*exampleSite\* appveyor.yml \*.travis.ci\* \*tests\* \*bin\* \*build\* \*release\* config.codekit3 \*bower_components\* bower.json gulpfile.js netlify.toml package.json STYLE.md *\node_modules\*

deploy:
provider: releases
Expand Down

0 comments on commit 8450ae1

Please sign in to comment.