Skip to content

Commit ccce5c0

Browse files
committed
Added Travis
1 parent 8329952 commit ccce5c0

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: ruby
2+
rvm:
3+
- 2.1.0
4+
bundler_args: "--without development production autotest"
5+
before_install:
6+
- gem update --system
7+
- travis_retry gem install bundler --pre
8+
before_script:
9+
- cp -f config/database.travis.yml config/database.yml
10+
- cp -f .env.example .env
11+
- bin/rake db:create db:schema:load RAILS_ENV=test

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ GEM
577577
multi_json (~> 1.0)
578578
rake
579579
rest-client (~> 1.6)
580-
travis (1.6.10)
580+
travis (1.6.11)
581581
addressable (~> 2.3)
582582
backports
583583
faraday (~> 0.9)
@@ -587,7 +587,7 @@ GEM
587587
launchy (~> 2.1)
588588
pry (~> 0.9)
589589
pusher-client (~> 0.4)
590-
typhoeus (~> 0.6)
590+
typhoeus (~> 0.6, >= 0.6.8)
591591
travis-lint (1.7.0)
592592
hashr (~> 0.0.22)
593593
treetop (1.4.15)

config/database.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test:
2+
adapter: postgresql
3+
database: uglst_test
4+
encoding: unicode
5+
username: postgres

0 commit comments

Comments
 (0)