From 8580ba1a65140e49e9f1fb4f8ef99edb35b84908 Mon Sep 17 00:00:00 2001 From: Nick Janetakis Date: Sat, 20 Sep 2014 12:20:46 -0400 Subject: [PATCH] Update the travis tests --- .travis.yml | 6 ------ tests/test.yml | 7 +++---- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index d8f993a..3822119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ env: before_install: - '__rvm_unload ; rm -rf ~/.rvm' - - 'sudo usermod -G audio travis' install: - 'pip install ansible==1.7.1' @@ -36,11 +35,6 @@ script: | grep -q 'ruby-2.1.0' && (echo 'Multiple rubies test: pass' && exit 0) || (echo 'Multiple rubies test: fail' && exit 1) - - > - ls -l ~/.rvm - | grep -q 'travis audio' - && (echo 'Ownership test: pass' && exit 0) - || (echo 'Ownership test: fail' && exit 1) - > ansible-playbook $SITE_AND_INVENTORY --connection=local --extra-vars='rvm1_delete_ruby=ruby-2.1.0' | grep -q 'ok=1.*failed=0' diff --git a/tests/test.yml b/tests/test.yml index b30aac0..4aed9bb 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -1,4 +1,5 @@ --- + - hosts: localhost remote_user: travis sudo: true @@ -7,10 +8,8 @@ rvm1_rubies: - 'ruby-2.1.0' - 'ruby-2.1.2' - rvm1_user: 'travis' - rvm1_group: 'audio' - rvm1_temp_download_path: '/tmp' rvm1_install_path: '/home/travis/.rvm' + rvm1_install_flags: '--auto-dotfiles --user-install' roles: - - rvm1-ansible \ No newline at end of file + - rvm1-ansible