community-app/.travis.yml

36 lines
1.1 KiB
YAML
Raw Normal View History

dist: xenial
language: node_js
node_js:
- "8"
2017-01-24 10:03:32 +00:00
before_install:
- echo "Nothing"
- sudo rm -rf node-modules/
- wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
- sudo dpkg -i libicu52*.deb
- sudo apt-get install libfontconfig1 fontconfig libfontconfig1-dev libfreetype6-dev
- export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64"
- wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2
- sudo tar xvjf $PHANTOM_JS.tar.bz2
- sudo mv $PHANTOM_JS /usr/local/share
- sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
- phantomjs --version
2013-12-11 21:12:57 +00:00
before_script:
- npm install -g grunt-cli
2013-12-12 19:34:26 +00:00
- npm install -g bower
2017-01-24 10:03:32 +00:00
- bundle install
2013-12-12 19:30:26 +00:00
- bower install
- grunt prod
notifications:
2017-01-24 10:03:32 +00:00
email: true
# Above is taken from: https://github.com/mdix/es6-babel-browserify-karma-boilerplate/blob/master/.travis.yml#L3
2017-07-24 17:48:25 +00:00
# Below is documented at https://docs.travis-ci.com/user/deployment/pages/
deploy:
provider: pages
skip-cleanup: true
local-dir: dist/community-app
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: develop