forked from rosa-abf/rosa-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 953 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: ruby
rvm:
- 2.1.1
bundler_args: --without development
env:
- SPEC_GROUP=controllers
- SPEC_GROUP=platform_controllers
- SPEC_GROUP=api
- SPEC_GROUP=models
- SPEC_GROUP=others
before_install:
- sudo apt-get update
- 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
- gem update --system
- gem --version
- git config --global user.email "[email protected]"
- git config --global user.name "ABF"
before_script:
- cp config/database.yml.sample config/database.yml
- cp config/application.yml.travis config/application.yml
- bundle exec rake db:create db:schema:load db:migrate
script: "./travis.sh"
branches:
only:
- /.*/