Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
john muhl
committed
Jan 7, 2012
1 parent
1f35650
commit 9a1453c
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.2 | ||
- 1.9.3 | ||
|
||
before_script: "./spec/ci/before_script" | ||
|
||
script: "./spec/ci/script" | ||
|
||
env: | ||
- RADIANT_VERSION=1.0.0.rc4 DB=mysql | ||
- RADIANT_VERSION=1.0.0.rc4 DB=postgres | ||
- RADIANT_VERSION=master DB=mysql | ||
- RADIANT_VERSION=master DB=postgres | ||
|
||
notifications: | ||
recipients: | ||
- git@johnmuhl.com | ||
irc: "irc.freenode.org#radiantcms" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cd ~ | ||
git clone git://github.com/radiant/radiant.git | ||
cd ~/radiant | ||
if [[ $RADIANT_VERSION != "master" ]] | ||
then | ||
git checkout -b $RADIANT_VERSION $RADIANT_VERSION | ||
fi | ||
cp -r ~/builds/*/radiant-archive-extension vendor/extensions/archive | ||
gem install bundler --pre | ||
echo 'gem "radiant-archive-extension", :path => "vendor/extensions/archive"' >> Gemfile | ||
bundle install | ||
|
||
case $DB in | ||
"mysql" ) | ||
mysql -e 'create database radiant_test;' | ||
cp spec/ci/database.mysql.yml config/database.yml;; | ||
"postgres" ) | ||
psql -c 'create database radiant_test;' -U postgres | ||
cp spec/ci/database.postgresql.yml config/database.yml;; | ||
esac | ||
|
||
bundle exec rake db:migrate | ||
bundle exec rake db:migrate:extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cd ~/radiant | ||
bundle exec rake spec:extensions EXT=archive |