forked from openMF/community-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (34 loc) · 1.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
dist: xenial
language: node_js
node_js:
- "8"
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
before_script:
- npm install -g grunt-cli
- npm install -g bower
- bundle install
- bower install
- grunt prod
notifications:
email: true
# Above is taken from: https://github.com/mdix/es6-babel-browserify-karma-boilerplate/blob/master/.travis.yml#L3
# 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