diff options
author | Ferenc Kovacs <tyrael@php.net> | 2014-12-04 11:12:17 +0100 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2014-12-04 11:12:17 +0100 |
commit | 4f9f7c7948d8c852a5038a4a8787cc8b6f465940 (patch) | |
tree | c80ac334e19aad5679d4da802c362b119a84794a | |
parent | 2bcf8a6cd921486f0ee4835166984ecf4f0b2021 (diff) | |
parent | a8b49bbf185df8e4f7324e8b57d7a53f374bd737 (diff) | |
download | php-git-4f9f7c7948d8c852a5038a4a8787cc8b6f465940.tar.gz |
Merge branch 'pull-request/932' into PHP-5.5
* pull-request/932:
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
-rw-r--r-- | .travis.yml | 7 | ||||
-rwxr-xr-x | run-tests.php | 2 | ||||
-rwxr-xr-x | travis/install.sh | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index b2ed607cac..19ecff50f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,4 @@ -language: php - -php: - # We only specify one version so we only get one worker - - 5.4 +language: c notifications: email: @@ -27,6 +23,7 @@ env: before_install: - sudo cp ./travis/de /var/lib/locales/supported.d/de - sudo dpkg-reconfigure locales + - ./travis/install.sh before_script: # Compile PHP diff --git a/run-tests.php b/run-tests.php index 9319631bb6..60288e2d79 100755 --- a/run-tests.php +++ b/run-tests.php @@ -314,7 +314,7 @@ VALGRIND : " . ($leak_check ? $valgrind_header : 'Not used') . " define('PHP_QA_EMAIL', 'qa-reports@lists.php.net'); define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php'); define('QA_REPORTS_PAGE', 'http://qa.php.net/reports'); -define('TRAVIS_CI' , (bool) getenv('TRAVIS_PHP_VERSION')); +define('TRAVIS_CI' , (bool) getenv('TRAVIS')); function save_or_mail_results() { diff --git a/travis/install.sh b/travis/install.sh new file mode 100755 index 0000000000..5c6a3c1913 --- /dev/null +++ b/travis/install.sh @@ -0,0 +1,2 @@ +#!/bin/bash +sudo apt-get install re2c libgmp-dev libicu-dev libmcrypt-dev libtidy-dev |