diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-09-19 18:36:41 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2017-09-19 19:07:40 +0200 |
commit | dfc2c3353d95ffd095ef02f1060ea7ebe99a18d2 (patch) | |
tree | 856d7adc0a805ae127dd647ae81eeac818b8ecd7 | |
parent | 6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0 (diff) | |
download | Shaarli-dfc2c3353d95ffd095ef02f1060ea7ebe99a18d2.tar.gz Shaarli-dfc2c3353d95ffd095ef02f1060ea7ebe99a18d2.tar.zst Shaarli-dfc2c3353d95ffd095ef02f1060ea7ebe99a18d2.zip |
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 <virtualtam@flibidi.net>
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 26535ad3..72401381 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,12 +1,6 @@ | |||
1 | sudo: false | 1 | sudo: false |
2 | dist: precise | 2 | dist: trusty |
3 | language: php | 3 | language: php |
4 | addons: | ||
5 | apt: | ||
6 | packages: | ||
7 | - locales | ||
8 | - language-pack-de | ||
9 | - language-pack-fr | ||
10 | cache: | 4 | cache: |
11 | directories: | 5 | directories: |
12 | - $HOME/.composer/cache | 6 | - $HOME/.composer/cache |
@@ -19,6 +13,7 @@ install: | |||
19 | - composer self-update | 13 | - composer self-update |
20 | - composer install --prefer-dist | 14 | - composer install --prefer-dist |
21 | script: | 15 | script: |
16 | - locale -a | ||
22 | - make clean | 17 | - make clean |
23 | - make check_permissions | 18 | - make check_permissions |
24 | - make all_tests | 19 | - make all_tests |