2013-05-13 00:15:35 +04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "0.10"
|
2013-10-30 00:54:37 +04:00
|
|
|
env:
|
|
|
|
- DB=sqlite3
|
|
|
|
- DB=mysql
|
2013-11-25 04:29:24 +04:00
|
|
|
- DB=pg
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- env: DB=pg
|
2013-08-27 01:28:41 +04:00
|
|
|
before_install:
|
2014-02-09 19:29:23 +04:00
|
|
|
- rvm use 1.9.3
|
|
|
|
- gem install bundler
|
2013-08-27 01:28:41 +04:00
|
|
|
- npm install -g grunt-cli
|
|
|
|
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
|
|
|
|
- cd ~/casperjs
|
2014-01-01 17:31:55 +04:00
|
|
|
- git checkout tags/1.1-beta3
|
2013-08-27 01:28:41 +04:00
|
|
|
- export PATH=$PATH:`pwd`/bin
|
|
|
|
- cd -
|
2013-10-30 00:54:37 +04:00
|
|
|
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_travis'; fi
|
2013-11-29 04:58:24 +04:00
|
|
|
- if [ $DB == "pg" ]; then npm install pg; psql -c 'create database ghost_travis;' -U postgres; fi
|
2013-05-29 22:26:08 +04:00
|
|
|
before_script:
|
2013-08-27 01:28:41 +04:00
|
|
|
- phantomjs --version
|
|
|
|
- casperjs --version
|