diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-07-11 10:33:34 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-07-11 10:33:34 +0300 |
commit | 93e934f4cab4b2c26fd12caad7ff270ea4f5d366 (patch) | |
tree | e8e75dcac48dbb738360a996be7775d71ae3a87b /.ci/install.sh | |
parent | 25214753cb5b480f828e9acb0463f70fbf8663b0 (diff) |
Get rid of Travis CI
Diffstat (limited to '.ci/install.sh')
-rwxr-xr-x | .ci/install.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/.ci/install.sh b/.ci/install.sh deleted file mode 100755 index 5ea97338d..000000000 --- a/.ci/install.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# The script is intended for use on Travis with Trusty distribution - -DIR=$(dirname $0) - -# Enable xdebug for code coverage -if [ "$CODE_COVERAGE" != 1 ]; then phpenv config-rm xdebug.ini || true; fi - -cd $DIR/.. - -cp composer.json-dist composer.json - -# Add laravel/dusk for Browser tests -if [ "$BROWSER_TESTS" = 1 ]; then composer require "laravel/dusk:~6.9.0" --no-update; fi - -# Add suggested dependencies required for tests -composer require "kolab/net_ldap3:~1.1.1" --no-update - -# phpunit v7 is working fine on PHP8, but composer installs an older version, -# so we'll emulate PHP 7.4 platform to get phpunit v7 -if [[ ${TRAVIS_PHP_VERSION:0:1} == "8" ]]; then composer config platform.php 7.4; fi - -# Install PHP dependencies -composer install --prefer-dist - -# Install Less for Elastic CSS compilation, and UglifyJS for JS files minification -if [ "$BROWSER_TESTS" = 1 ] -then - npm install --force -g less - npm install --force -g less-plugin-clean-css - npm install --force -g uglify-js -fi - -# Roundcube tests and instance configuration -cp .ci/config-test.inc.php config/config-test.inc.php |