forked from GraphAlchemist/Alchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing travis tests for pull requests with headless servers
- Loading branch information
hdngr
committed
Nov 2, 2014
1 parent
a010176
commit bae9eeb
Showing
5 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ site/dist | |
.grunt | ||
archive | ||
s3.yml | ||
sauce.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "0.10" | ||
before_install: | ||
# If the build is a pull request set up Mozilla for testing | ||
# If it is not a pull request, Travis will have access to security credentials for sauce labs | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo "set up sauce labs tests" || export DISPLAY=:99.0' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo "set up sauce labs tests" || sh -e /etc/init.d/xvfb start' | ||
before_script: | ||
- gem update --system | ||
- gem install compass | ||
script: | ||
- bower install | ||
- bower install ./test | ||
- grunt | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && grunt || grunt -pr' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters