[PATCH conductor] travis-ci.org configuration file for upstream continous integration testing

Richard Su rwsu at redhat.com
Tue Jun 26 01:10:52 UTC 2012


Runs cucumber and rspec within a single build. Uses bundler.

Runs build for ruby 1.8.7 and 1.9.3.

Notifies freenode #aeolus when build is done.
---
 .travis.yml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d2cdb85
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,30 @@
+language: ruby
+rvm:
+  - 1.8.7
+  - 1.9.3
+gemfile: src/Gemfile
+env: 
+  - SUITE=cucumber
+  - SUITE=spec
+before_install:
+  - sed s/'pg'/'sqlite3'/ src/Gemfile.in > src/Gemfile
+install:
+  - cd src 
+  - bundle install
+before_script:
+  - export USE_BUNDLER=yes
+  - cp config/database.sqlite config/database.yml
+  - rake dc:oauth_keys
+  - rake db:drop
+  - rake db:create
+  - rake db:migrate
+  - rake db:seed
+  - rake db:test:prepare
+script:
+  - rake $SUITE
+notifications:
+  irc:
+    channels:
+      - "irc.freenode.org#aeolus"
+    use_notice: true
+    skip_join: false
\ No newline at end of file
-- 
1.7.7.6




More information about the aeolus-devel mailing list