2013-06-14 14:04:17 +01:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
2014-03-14 17:46:30 +00:00
|
|
|
- 2.1.1
|
2013-06-14 14:04:17 +01:00
|
|
|
bundler_args: --without development
|
2013-06-14 16:57:31 +01:00
|
|
|
env:
|
|
|
|
- SPEC_GROUP=controllers
|
2013-09-16 15:19:02 +01:00
|
|
|
- SPEC_GROUP=platform_controllers
|
2013-06-14 16:57:31 +01:00
|
|
|
- SPEC_GROUP=api
|
|
|
|
- SPEC_GROUP=models
|
|
|
|
- SPEC_GROUP=others
|
2013-06-14 14:04:17 +01:00
|
|
|
before_install:
|
2013-06-14 14:19:37 +01:00
|
|
|
- sudo apt-get update
|
2013-09-11 17:00:40 +01:00
|
|
|
- sudo apt-get --no-install-recommends install bash curl git patch bzip2 build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev libicu-dev rpm
|
2013-06-14 14:04:17 +01:00
|
|
|
- gem update --system
|
|
|
|
- gem --version
|
2013-06-14 16:57:31 +01:00
|
|
|
- git config --global user.email "abf@travis.com"
|
|
|
|
- git config --global user.name "ABF"
|
2013-06-14 15:01:55 +01:00
|
|
|
before_script:
|
2013-06-14 14:04:17 +01:00
|
|
|
- cp config/database.yml.sample config/database.yml
|
2013-06-14 14:35:32 +01:00
|
|
|
- cp config/application.yml.travis config/application.yml
|
2014-03-14 17:46:30 +00:00
|
|
|
- bundle exec rake db:create db:schema:load db:migrate
|
2013-06-14 17:11:31 +01:00
|
|
|
script: "./travis.sh"
|
2013-06-14 14:04:17 +01:00
|
|
|
branches:
|
|
|
|
only:
|
2013-06-17 11:20:39 +01:00
|
|
|
- /.*/
|