Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Apr 12, 2014
1 parent 35dc28e commit 9c78604
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
@@ -1,12 +1,6 @@
language: ruby

env:
- TEST_CXX=1 TEST_NODE=1
- TEST_CXX=1 SUDO=1
- TEST_RUBY=1 TEST_RUBY_VERSION=1.8.7 TEST_CLASSIC_RAILS=0 TEST_RUBYGEMS_VERSION=1.8.25
- TEST_RUBY=1 TEST_RUBY_VERSION=1.9.3 TEST_CLASSIC_RAILS=0
- TEST_NGINX=1 TEST_STANDALONE=1 TEST_RUBYGEMS_VERSION=1.8.25
- TEST_APACHE2=1 TEST_RUBYGEMS_VERSION=1.8.25
- TEST_SOURCE_PACKAGING=1 TEST_DEBIAN_PACKAGING=1 TEST_RUBYGEMS_VERSION=1.8.25

script: ./dev/run_travis.sh
3 changes: 2 additions & 1 deletion build/test_basics.rb
Expand Up @@ -77,6 +77,7 @@
end
end
if boolean_option('NODE_MODULES', default)
sh "npm install mocha should sinon express"
sh "npm install mocha should sinon"
sh "npm install express@3.4.8"
end
end
4 changes: 2 additions & 2 deletions dev/run_travis.sh
Expand Up @@ -83,8 +83,8 @@ function install_node_and_modules()
{
if [[ "$install_node_and_modules" = "" ]]; then
install_node_and_modules=1
curl --fail -O http://nodejs.org/dist/v0.10.20/node-v0.10.20-linux-x64.tar.gz
tar xzvf node-v0.10.20-linux-x64.tar.gz
run curl --fail -O http://nodejs.org/dist/v0.10.20/node-v0.10.20-linux-x64.tar.gz
run tar xzf node-v0.10.20-linux-x64.tar.gz
export PATH=`pwd`/node-v0.10.20-linux-x64/bin:$PATH
retry_run 3 rake test:install_deps NODE_MODULES=yes
fi
Expand Down
1 change: 1 addition & 0 deletions test/integration_tests/nginx_tests.rb
Expand Up @@ -195,6 +195,7 @@ def create_nginx_controller(options = {})
@nginx.add_server do |server|
server[:server_name] = "1.passenger.test"
server[:root] = "#{PhusionPassenger.source_root}/test/stub"
server[:passenger_friendly_error_pages] = 'on'
server << %Q{
location ~ ^/subapp(/.*|$) {
alias #{@stub.full_app_root}/public$1;
Expand Down

0 comments on commit 9c78604

Please sign in to comment.