26 lines
642 B
YAML
26 lines
642 B
YAML
---
|
|
language: node_js
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
before_install:
|
|
- mkdir -p ~/.nvm/versions
|
|
- source ~/.nvm/nvm.sh && nvm install 0.12.2
|
|
- mkdir -p travis-phantomjs
|
|
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
|
|
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
|
|
- export PATH=$PWD/travis-phantomjs:$PATH
|
|
- "npm config set spin false"
|
|
- "npm install -g npm@^2"
|
|
|
|
install:
|
|
- npm install -g bower
|
|
- npm install
|
|
- bower install
|
|
|
|
script:
|
|
- npm test
|