From dfc2c3353d95ffd095ef02f1060ea7ebe99a18d2 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 19 Sep 2017 18:36:41 +0200 Subject: Travis: switch to Ubuntu Trusty build environment Relates to https://github.com/shaarli/Shaarli/issues/970 Relates to https://github.com/shaarli/Shaarli/pull/912 See: - https://docs.travis-ci.com/user/reference/trusty/ - https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming Added: - print available locales before running tests Removed: - do not install extra language packs Signed-off-by: VirtualTam --- .travis.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 26535ad3..72401381 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,6 @@ sudo: false -dist: precise +dist: trusty language: php -addons: - apt: - packages: - - locales - - language-pack-de - - language-pack-fr cache: directories: - $HOME/.composer/cache @@ -19,6 +13,7 @@ install: - composer self-update - composer install --prefer-dist script: + - locale -a - make clean - make check_permissions - make all_tests -- cgit v1.2.3 From b5c33d702ac973e7bc1401e484c6b8799eea1e91 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 19 Sep 2017 19:17:16 +0200 Subject: Tests: update localization tests Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization test suites, instead of `pt_BR` that is now available from Travis build images. Signed-off-by: VirtualTam --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 72401381..b6b9bddf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,8 @@ php: install: - composer self-update - composer install --prefer-dist -script: - locale -a +script: - make clean - make check_permissions - make all_tests -- cgit v1.2.3