diff --git a/.travis.yml b/.travis.yml index 53fe66fa1..8b915afb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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