Fix test ordering and default to empty install

This commit is contained in:
Joshua B. Bussdieker
2014-04-03 21:00:17 -07:00
parent dffb71a9b6
commit 049692d68e
3 changed files with 15 additions and 5 deletions
-1
View File
@@ -3,6 +3,5 @@ os: [linux, osx]
osx_image: mavericks
before_install:
- "binscripts/gvm-installer $TRAVIS_COMMIT $TRAVIS_BUILD_DIR/tmp"
- "source $TRAVIS_BUILD_DIR/tmp/gvm/scripts/gvm; gvm install tip"
install: gem install tf -v '>=0.4.1'
script: source $TRAVIS_BUILD_DIR/tmp/gvm/scripts/gvm; tf --text tests/*
+15
View File
@@ -0,0 +1,15 @@
## Cleanup test objects
gvm uninstall tip > /dev/null 2>&1
gvm uninstall go1.0.3 > /dev/null 2>&1
gvm uninstall go1.1.1 > /dev/null 2>&1
gvm uninstall go1.2 > /dev/null 2>&1
#######################
gvm install tip #status=0
gvm list #status=0; match=/tip/
gvm install go1.0.3 #status=0
gvm list #status=0; match=/go1.0.3/
gvm install go1.1.1 #status=0
gvm list #status=0; match=/go1.1.1/
gvm install go1.2 #status=0
gvm list #status=0; match=/go1.2/
-4
View File
@@ -1,4 +0,0 @@
gvm install tip #status=0
gvm install go1.0.3 #status=0
gvm install go1.1.1 #status=0
gvm install go1.2 #status=0