gridstack.js/.travis.yml

37 lines
642 B
YAML
Raw Normal View History

2016-02-22 20:36:09 +01:00
language: node_js
2016-03-02 04:31:09 +01:00
node_js:
- "5.7.0"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g protractor
install:
- npm install -g npm@2
- npm install -g grunt-cli
- npm install -g bower
- bower install
- npm install
- webdriver-manager update --standalone
2016-02-22 20:36:09 +01:00
before_script:
2016-03-02 04:31:09 +01:00
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- nohup bash -c "webdriver-manager start 2>&1 &"
2016-02-22 20:36:09 +01:00
script:
2016-03-02 04:31:09 +01:00
- npm run build
- npm test
- grunt e2e-test