From bf2c9f58216e4de33761763443316fd3a573715d Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 28 Mar 2013 11:43:49 +0100 Subject: [PATCH] Rename TEST_SUITEs to ruby, phantomjs and saucelabs --- .travis.yml | 8 ++++---- script/ci | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index e40e3fa7..b5f0fe32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,10 @@ env: - secure: "sW8X/OxQQnCfSWfo5uho8os/4eV8Y3QWOx5LdhqcmOxb4KLlQkndRNNqz+DF\nKynSgnSpty2uvol6611J9RDPEVn6cZw7EFQj/EO7NRVQC8uD+8LtT/2C2J8L\nc/bf7sQqpAkDq9MOEub/A6R4jIk043lGQ4IyWAQmGlETMQ2Q/K0=" - secure: "XCGOrMQHDR59KARYeN2GaAkDQKwq2nW9okEFMaKEH1AuUFFcU4hHAsunNeXe\nwSHu4Dpo/CioI2EKQpxL8nwMUPsx3HaY/2W8ef1YPvhU1GuSyiPDW0va8sV7\nBmZf1b26ktrzqaYDxyJjwe1EKrzfZx0LPV0MNU6wSWdHILthPY8=" matrix: - - "TEST_SUITE=spec" - - "TEST_SUITE=ember" - - "TEST_SUITE=browser BROWSER='firefox:19:Windows 2012'" - - "TEST_SUITE=browser BROWSER='chrome::Windows 2008'" + - "TEST_SUITE=ruby" + - "TEST_SUITE=phantomjs" + - "TEST_SUITE=saucelabs BROWSER='firefox:19:Windows 2012'" + - "TEST_SUITE=saucelabs BROWSER='chrome::Windows 2008'" script: "script/ci" after_script: diff --git a/script/ci b/script/ci index 5a8db679..6ec161ac 100755 --- a/script/ci +++ b/script/ci @@ -1,12 +1,12 @@ #!/bin/bash -if [ "$TEST_SUITE" == "spec" ]; then +if [ "$TEST_SUITE" == "ruby" ]; then bundle exec rspec spec -elif [ "$TEST_SUITE" == "ember" ]; then +elif [ "$TEST_SUITE" == "phantomjs" ]; then bundle exec rackup -s puma -p 5000 -D sleep 3 ./run_jasmine.coffee http://localhost:5000/spec.html -elif [ "$TEST_SUITE" == "browser" ]; then +elif [ "$TEST_SUITE" == "saucelabs" ]; then bundle exec rackup -s puma -p 5000 -D sleep 3 curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash