2013-05-13 00:15:35 +04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "0.10"
|
2013-10-30 00:54:37 +04:00
|
|
|
env:
|
2014-03-25 16:42:52 +04:00
|
|
|
- DB=sqlite3 NODE_ENV=testing
|
|
|
|
- DB=mysql NODE_ENV=testing-mysql
|
|
|
|
- DB=pg NODE_ENV=testing-pg
|
2013-11-25 04:29:24 +04:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2014-03-25 16:42:52 +04:00
|
|
|
- env: DB=pg NODE_ENV=testing-pg
|
2013-08-27 01:28:41 +04:00
|
|
|
before_install:
|
|
|
|
- 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 -
|
2014-03-25 16:42:52 +04:00
|
|
|
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
|
|
|
|
- if [ $DB == "pg" ]; then npm install pg; psql -c 'create database ghost_testing;' -U postgres; fi
|
2013-05-29 22:26:08 +04:00
|
|
|
before_script:
|
2013-08-27 01:28:41 +04:00
|
|
|
- phantomjs --version
|
2014-07-01 16:35:50 +04:00
|
|
|
- casperjs --version
|