forked from hpyhacking/peatio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 863 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
language: ruby
rvm:
- 2.1.1
before_install:
- sudo apt-get update
- sudo apt-get install -y libfontconfig libfontconfig-dev libfreetype6-dev
- sudo apt-get install -y qrencode libqrencode-dev
before_script:
- "mysql -e 'create database peatio_test;'"
- "cp ./.travis.database.yml ./config/database.yml"
- "cp ./.travis.application.yml ./config/application.yml"
- "cp ./.travis.currencies.yml ./config/currencies.yml"
- "cp ./.travis.markets.yml ./config/markets.yml"
- "cp ./config/amqp.yml.example ./config/amqp.yml"
- "mkdir -p ./tmp/cache"
script:
- bundle exec rake db:schema:load
- bundle exec rake db:test:prepare
- bundle exec rake spec
after_failure:
- "mysql -e 'show databases;'"
- "cat ./config/database.yml"
- "echo $RAILS_ENV"
- "bundle exec rake --version"
notifications:
slack: peatio:F2FWrCANEK3QcjHC16OO541l