From 51e072f92acf5a7c308896d4af69e7f079429f1c Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Mon, 18 Jun 2012 01:59:57 +0100 Subject: [PATCH] Updated travis to only test the master branch. --- .travis.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5989614..1df2a56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,16 +3,20 @@ language: python before_install: - # Print out the bash version - - sudo /bin/bash --version - # Install dependencies - - sudo apt-get install shunit2 - # Remove this troublesome script - - sudo rm /etc/profile.d/phpenv.sh + # Print out the bash version + - sudo /bin/bash --version + # Install dependencies + - sudo apt-get install shunit2 + # Remove this troublesome script + - sudo rm /etc/profile.d/phpenv.sh # Create a minecraft user for testing install: - - sudo adduser --system minecraft - + - sudo adduser --system minecraft + # Run the test script -script: sudo /bin/bash ./test.sh \ No newline at end of file +script: sudo /bin/bash ./test.sh + +branches: + only: + - master \ No newline at end of file