From 8ae1ae86e1e9e7b090036427fe46e9bfd24cc4dd Mon Sep 17 00:00:00 2001
From: John Sirois <john.sirois@gmail.com>
Date: Sat, 11 Apr 2015 16:11:08 -0600
Subject: [PATCH] Re-establish no nailguns under TravisCI.

We used to have a switch for this in the ci.sh script that .travis.yml
passed but that went away here: https://rbcommons.com/s/twitter/r/1852/

This just adds a config override file dedicated to TravisCI runs.

Testing Done:
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/58106974

Bugs closed: 1405

Reviewed at https://rbcommons.com/s/twitter/r/2065/
---
 .travis.yml         | 1 +
 pants.travis-ci.ini | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 pants.travis-ci.ini

diff --git a/.travis.yml b/.travis.yml
index b54dca2e95f..063521585c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,7 @@ install:
 env:
   global:
     - CXX=g++
+    - PANTS_CONFIG_OVERRIDE=pants.travis-ci.ini
     # Credentials for OSX syncing: GH_USER, GH_EMAIL, GH_TOKEN
     # These are encrypted with a public key for our repo that only
     # Travis-CI has the private key for.  We are trusting Travis-CI
diff --git a/pants.travis-ci.ini b/pants.travis-ci.ini
new file mode 100644
index 00000000000..506f56786f3
--- /dev/null
+++ b/pants.travis-ci.ini
@@ -0,0 +1,5 @@
+# Overrides for TravisCI runs.
+[DEFAULT]
+
+# Turn off all nailgun use.
+use_nailgun: False