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:
|
2013-11-01 15:13:43 +04:00
|
|
|
- git submodule update --init
|
2013-08-27 01:28:41 +04:00
|
|
|
- gem update --system
|
|
|
|
- gem install sass bourbon
|
|
|
|
- npm install -g grunt-cli
|
|
|
|
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
|
|
|
|
- cd ~/casperjs
|
|
|
|
- git checkout tags/1.1-beta1
|
|
|
|
- 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
|
2013-10-30 00:54:37 +04:00
|
|
|
- grunt init
|