Skip to content

Commit 8808a5b

Browse files
authored
Merge pull request #79 from sanger/staging
Merge Staging into Master
2 parents 421052a + 7f069be commit 8808a5b

29 files changed

+594
-189
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,19 @@ before_script:
77
- bundle exec rake db:reset
88
- bundle exec rake db:setup
99
script: bundle exec rspec
10+
11+
sudo: false
12+
13+
cache:
14+
directories:
15+
- "travis_phantomjs"
16+
17+
before_install:
18+
- "phantomjs --version"
19+
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
20+
- "hash -d phantomjs || true"
21+
- "phantomjs --version"
22+
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
23+
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
24+
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
25+
- "phantomjs --version"

Gemfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gem 'sdoc', '~> 0.4.0', group: :doc
2929

3030
gem 'puma'
3131

32-
gem 'active_model_serializers', '~> 0.10.0.rc4'
32+
gem 'active_model_serializers', '~> 0.10.6'
3333

3434
gem 'bootstrap-sass', '~> 3.3.6'
3535
gem "font-awesome-rails"
@@ -57,9 +57,6 @@ group :development, :test do
5757
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
5858
gem 'byebug'
5959

60-
# Access an IRB console on exception pages or by using <%= console %> in views
61-
gem 'web-console', '~> 2.0'
62-
6360
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
6461
gem 'spring'
6562

@@ -90,5 +87,10 @@ end
9087
group :deployment do
9188
gem 'therubyracer'
9289
gem 'mysql2', '0.3.20'
90+
9391
end
9492

93+
group :development do
94+
# Access an IRB console on exception pages or by using <%= console %> in views
95+
gem 'web-console', '~> 2.0'
96+
end

0 commit comments

Comments
 (0)