Commit 3299b3a0 3299b3a0a60f86701fb5766c3a9065ef8b763259 by Nicolas Perriault

separated dotNET tests from others in travis config

1 parent 3266f0c0
Showing 1 changed file with 32 additions and 10 deletions
...@@ -6,9 +6,15 @@ before_install: ...@@ -6,9 +6,15 @@ before_install:
6 - echo "Installing $ENGINE $ENGINE_VERSION from $ENGINE_ARCHIVE_URL" 6 - echo "Installing $ENGINE $ENGINE_VERSION from $ENGINE_ARCHIVE_URL"
7 - wget $ENGINE_ARCHIVE_URL --output-document=engine.tar.bz2 7 - wget $ENGINE_ARCHIVE_URL --output-document=engine.tar.bz2
8 - mkdir engine && tar --strip-components=1 -xvf engine.tar.bz2 -C engine 8 - mkdir engine && tar --strip-components=1 -xvf engine.tar.bz2 -C engine
9 9 - if [[ $ENGINE == 'phantomjs' ]]; then
10 - if [[ $ENGINE == 'phantomjs' ]]; then ls -la engine/bin/phantomjs && engine/bin/phantomjs --version; fi 10 ENGINE_EXECUTABLE="engine/bin/phantomjs";
11 - if [[ $ENGINE == 'slimerjs' ]]; then ls -la engine/slimerjs && engine/slimerjs --version; fi 11 elif [[ $ENGINE == 'slimerjs' ]]; then
12 ENGINE_EXECUTABLE="engine/slimerjs";
13 else
14 echo "Unsupported engine $ENGINE";
15 fi
16 - ls -la $ENGINE_EXECUTABLE && $ENGINE_EXECUTABLE --version;
17 - export ENGINE_EXECUTABLE="$ENGINE_EXECUTABLE $ENGINE_FLAGS"
12 18
13 install: 19 install:
14 - sudo apt-get install -qq mono-devel mono-mcs 20 - sudo apt-get install -qq mono-devel mono-mcs
...@@ -17,16 +23,32 @@ before_script: ...@@ -17,16 +23,32 @@ before_script:
17 - "npm install -g jshint@2.0.1" 23 - "npm install -g jshint@2.0.1"
18 24
19 script: 25 script:
20 - make test 26 - "make $MAKE_TEST_COMMAND"
21 - make test-dotNET
22 27
23 env: 28 env:
29 global:
30 - ENGINE_FLAGS="--local-to-remote-url-access=yes --ignore-ssl-errors=yes"
24 matrix: 31 matrix:
25 - ENGINE="phantomjs" ENGINE_VERSION="1.8.2" ENGINE_EXECUTABLE="engine/bin/phantomjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes" ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2" 32 - ENGINE="phantomjs" ENGINE_VERSION="1.8.2" MAKE_TEST_COMMAND="test-dotNET"
26 - ENGINE="phantomjs" ENGINE_VERSION="1.9.0" ENGINE_EXECUTABLE="engine/bin/phantomjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes" ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2" 33 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2"
27 - ENGINE="phantomjs" ENGINE_VERSION="1.9.1" ENGINE_EXECUTABLE="engine/bin/phantomjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes" ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2" 34 - ENGINE="phantomjs" ENGINE_VERSION="1.8.2" MAKE_TEST_COMMAND="test"
28 - ENGINE="phantomjs" ENGINE_VERSION="1.9.2" ENGINE_EXECUTABLE="engine/bin/phantomjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes" ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2" 35 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2"
29 - ENGINE="slimerjs" ENGINE_VERSION="0.8.4" ENGINE_EXECUTABLE="engine/slimerjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes" ENGINE_ARCHIVE_URL="http://download.slimerjs.org/v0.8/0.8.4/slimerjs-0.8.4-linux-x86_64.tar.bz2" 36 - ENGINE="phantomjs" ENGINE_VERSION="1.9.0" MAKE_TEST_COMMAND="test-dotNET"
37 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2"
38 - ENGINE="phantomjs" ENGINE_VERSION="1.9.0" MAKE_TEST_COMMAND="test"
39 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2"
40 - ENGINE="phantomjs" ENGINE_VERSION="1.9.1" MAKE_TEST_COMMAND="test-dotNET"
41 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2"
42 - ENGINE="phantomjs" ENGINE_VERSION="1.9.1" MAKE_TEST_COMMAND="test"
43 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2"
44 - ENGINE="phantomjs" ENGINE_VERSION="1.9.2" MAKE_TEST_COMMAND="test-dotNET"
45 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2"
46 - ENGINE="phantomjs" ENGINE_VERSION="1.9.2" MAKE_TEST_COMMAND="test"
47 ENGINE_ARCHIVE_URL="https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2"
48 - ENGINE="slimerjs" ENGINE_VERSION="0.8.4" MAKE_TEST_COMMAND="test-dotNET"
49 ENGINE_ARCHIVE_URL="http://download.slimerjs.org/v0.8/0.8.4/slimerjs-0.8.4-linux-x86_64.tar.bz2"
50 - ENGINE="slimerjs" ENGINE_VERSION="0.8.4" MAKE_TEST_COMMAND="test"
51 ENGINE_ARCHIVE_URL="http://download.slimerjs.org/v0.8/0.8.4/slimerjs-0.8.4-linux-x86_64.tar.bz2"
30 52
31 notifications: 53 notifications:
32 irc: 54 irc:
......