From c9a975503242fea61a7baa039f2940b153a5d3d3 Mon Sep 17 00:00:00 2001
From: John Chilton <jmchilton@gmail.com>
Date: Tue, 24 Sep 2013 16:22:03 -0500
Subject: [PATCH] Update Travis configuration to create user to run run-as-user
 test with.

---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 87b77f0e..9cd329b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,9 @@ install:
   - sudo service munge start
   - sudo python scripts/configure_test_slurm.py
   - echo "export DRMAA_LIBRARY_PATH=/usr/lib/libdrmaa.so" >> local_env.sh
-  - pip install drmaa
+  - pip install drmaa 
+  - sudo adduser --quiet --disabled-password --gecos TEST u1  ## Create user for run-as-user test.
+
 #  - sudo apt-get install condor
 script: . local_env.sh; nosetests
 
-- 
GitLab