mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
Remove travis config. Added CircleCI config.
This commit is contained in:
parent
cd20fe63d1
commit
e364deaa52
3 changed files with 11 additions and 18 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,18 +0,0 @@
|
|||
language: ruby
|
||||
bundler_args: --jobs=3 --retry=3
|
||||
cache:
|
||||
bundler: true
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3
|
||||
rvm:
|
||||
- 2.1.2
|
||||
env:
|
||||
- MYSQL_USERNAME=travis
|
||||
- APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
script:
|
||||
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
||||
- RAILS_ENV=test bundle exec rspec spec
|
4
circle.yml
Normal file
4
circle.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
database:
|
||||
override:
|
||||
- mv config/database.circle.yml config/database.yml
|
||||
- bundle exec rake db:create db:schema:load --trace
|
7
config/database.circle.yml
Normal file
7
config/database.circle.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
test:
|
||||
socket: /var/run/mysqld/mysqld.sock
|
||||
host: localhost
|
||||
database: circle_ruby_test
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
username: ubuntu
|
Loading…
Reference in a new issue