forked from mezuro/prezento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (27 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
26
27
28
29
30
language: ruby
rvm:
- 2.2.2
addons:
postgresql: "9.3"
before_script:
- git clone https://github.com/mezuro/kalibro_install.git -b v2.5 kalibro_install
- pushd kalibro_install
# Remove bugged libzmq3 package, see https://github.com/travis-ci/travis-ci/issues/982 and https://github.com/travis-ci/travis-ci/issues/1715 for details
- sudo apt-get remove libzmq3
- bash install.sh
- popd
- cp config/database.yml.sample config/database.yml
- bundle exec rake db:setup
- cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml
- export BUNDLE_GEMFILE=$PWD/Gemfile
- export CODECLIMATE_REPO_TOKEN=045c2433d496f108c0c6afa5516a72ddbfb1868fb34bf7a9bd095b7a0ea34a79
script:
- bundle exec rake spec
- bundle exec rake konacha:run
- bundle exec rake cucumber
notifications:
email:
recipients:
on_success: change
on_failure: always