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

Richard Su rwsu at redhat.com
Wed Jun 27 20:09:37 UTC 2012


On 06/26/2012 09:58 AM, Jason Guiditta wrote:
> On 25/06/12 18:10 -0700, Richard Su wrote:
>> 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.
>
> Not sure how to actually review this, but looks reasonable, with minor
> cleanup to rake tasks described below.
>
>> ---
>> .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
> you can remove the following 4 lines and replace with:
>  - rake db:setup
>> +  - 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
>>

As discussed on irc, our schema file isn't in github so db:setup doesn't 
work from a fresh checkout.

I've gone ahead and pushed this change. We can tweak it if we decide to 
commit the schema file.



More information about the aeolus-devel mailing list