Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Milan
diaspora
Commits
14324aec
Commit
14324aec
authored
Sep 03, 2011
by
Sarah Mei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install firefox on travis. Only run cucumber to save time while experimenting.
parent
392db905
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
.travis.yml
.travis.yml
+4
-1
lib/tasks/cruise.rake
lib/tasks/cruise.rake
+1
-1
No files found.
.travis.yml
View file @
14324aec
...
...
@@ -3,14 +3,17 @@ rvm:
-
ree
before_script
:
-
"
sudo
aptitude
-y
install
firefox"
-
"
sudo
cp
config/ci/xvfb
/etc/init.d/xvfb"
-
"
sh
-e
/etc/init.d/xvfb
start"
-
"
sass
--update
public/stylesheets/sass/:public/stylesheets/"
-
"
cp
config/database.yml.example
config/database.yml"
-
"
rake
db:create"
-
"
rake
db:schema:load"
-
"
rspec
spec
--tag
fixture"
script
:
"
bundle
exec
rake
travis"
env
:
"
TRAVIS=true"
notifications
:
disable
:
true
lib/tasks/cruise.rake
View file @
14324aec
...
...
@@ -21,7 +21,7 @@ namespace :cruise do
end
task
:travis
do
system
(
'export DISPLAY=:99.0 && CI=true bundle exec
rake
'
)
system
(
'export DISPLAY=:99.0 && CI=true bundle exec
cucumber
'
)
raise
"tests failed!"
unless
$?
.
exitstatus
==
0
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment