Merge pull request #3 from joergreichert/travis-docker

added .travis.yml
This commit is contained in:
Lars Mai 2016-03-02 20:31:06 +01:00
commit dfc4ac48cc
3 changed files with 36 additions and 0 deletions

19
.project Normal file
View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>stadtratmonitor</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
<nature>org.radrails.rails.core.railsnature</nature>
<nature>com.aptana.ruby.core.rubynature</nature>
</natures>
</projectDescription>

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
sudo: required
language: ruby
services:
- docker
script:
- docker-compose run web rake db:setup
- docker-compose run web rspec
env:
global:
secure: axvjtAqhdh32g9zmUaxd4mu7+iR/ZJaj/hw+Ss5XMJDcCKUSR/BUvqvo7ZFeHN2YGwS8DzCS0Fsr6Axop5mqfzyjVvHDKd4zE+Lm7HW+NUJVoV8khlLeEVX/KYcqWkKNkChxRRbIB3xnqim1H4T2ThKNlzl3wHgFRXdzK/gl57c=

View file

@ -28,3 +28,5 @@ Adding a scraper manually:
3. `exit`
Now import everything via `bundle exec rake import_papers`.
[![Build Status](https://travis-ci.org/joergreichert/stadtratmonitor.png?branch=travis-docker)](https://travis-ci.org/joergreichert/stadtratmonitor)