mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
Please please work travis :(
This commit is contained in:
parent
978f020833
commit
e9398fad87
1 changed files with 4 additions and 3 deletions
|
@ -9,8 +9,9 @@ rvm:
|
||||||
- 2.1.3
|
- 2.1.3
|
||||||
env:
|
env:
|
||||||
- MYSQL_USERNAME=travis APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
- MYSQL_USERNAME=travis APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
||||||
before_script:
|
before_install:
|
||||||
- export DISPLAY=:99.0
|
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
|
||||||
|
- sleep 5
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
||||||
- RAILS_ENV=test xvfb-run --server-args="-screen 0 1280x1024x24" bundle exec rspec spec
|
- RAILS_ENV=test bundle exec rspec spec
|
||||||
|
|
Loading…
Reference in a new issue