-
Notifications
You must be signed in to change notification settings - Fork 384
Update all libraries and tests #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
68e77f3
a1bfe3d
6f41a27
cf37e42
f105b36
89b1870
c325b06
3758392
b175c0a
80978f2
889154f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,25 +4,39 @@ rvm: | |
- 2.3.1 | ||
sudo: false | ||
addons: | ||
# sauce_connect: | ||
# username: "judahmeek" | ||
# jwt: | ||
# secure: "A/bVoePCHtwLGH4wVLCHK39+tml2axc/M/Mjnpg4m4bjgMI7GD4YqlnZMNrUBzNAv+Q66pp0sWjTy/Xm4tDaYnSxJFrWjD2wn5ZPpMEyB162nR+QqYqWl5DqP+jlOuIK+7iRmrRTlDS4LLTl43+nWxvRB16aat2U01P/+GKtQ+o=" | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- travis-ci/sqlite3 | ||
packages: | ||
- g++-4.9 | ||
- sqlite3 | ||
services: | ||
- postgresql | ||
env: | ||
global: | ||
- RAILS_ENV=test | ||
- CXX=g++-4.9 | ||
- SAUCE_LABS_URL=http://judahmeek:[email protected]:80/wd/hub | ||
before_install: | ||
- mkdir $PWD/travis-phantomjs | ||
- curl -sSL https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 -o $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 | ||
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs | ||
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH | ||
install: | ||
- bundle install | ||
- nvm install 6.3 | ||
- nvm use 6.3 | ||
- nvm install 6.7 | ||
- nvm use 6.7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe update to 6.9.1 |
||
- npm install | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- rake db:setup | ||
# No need to run xvfb if running headless testing | ||
#before_script: | ||
# - export DISPLAY=:99.0 | ||
# - sh -e /etc/init.d/xvfb start | ||
|
||
script: | ||
- bundle exec rake db:schema:load | ||
- DRIVER=selenium_firefox bundle exec rake | ||
# - DRIVER=selenium_firefox bundle exec rake | ||
- bundle exec rake |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,9 @@ gem "rails" | |
gem "listen" | ||
|
||
# Note: We're using sqllite3 for development and testing | ||
gem "sqlite3", group: [:development, :test] | ||
# gem "sqlite3", group: [:development, :test] | ||
|
||
group :production do | ||
# Pg is used for Heroku | ||
gem "pg" | ||
gem "rails_12factor" # Never include this for development or tests | ||
end | ||
gem "pg" | ||
|
||
gem "puma" | ||
|
||
|
@@ -104,7 +100,7 @@ group :test do | |
gem "generator_spec" | ||
gem "launchy" | ||
gem "poltergeist" | ||
gem "rspec-rails", "3.5.0.beta3" | ||
gem "rspec-rails", "~> 3" | ||
gem "rspec-retry" | ||
gem "selenium-webdriver", require: !["poltergeist", "poltergeist_errors_ok", "webkit"].include?(ENV["DRIVER"]) | ||
gem "selenium-webdriver", "<3.0.0", require: !["poltergeist", "poltergeist_errors_ok", "webkit"].include?(ENV["DRIVER"]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Judahmeek why less than 3.0.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That was for sauce compatibility. They don't fully support Selenium 3 yet. Their docs certainly don't. |
||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove sauce