Update the travis tests

This commit is contained in:
Nick Janetakis
2014-09-20 12:20:46 -04:00
parent bba24dc849
commit 8580ba1a65
2 changed files with 3 additions and 10 deletions

View File

@@ -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'

View File

@@ -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