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