-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (25 loc) · 926 Bytes
/
.travis.yml
File metadata and controls
31 lines (25 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: php
php:
- 7.2
env:
global:
- PHPBB_BRANCH="3.3.x"
- PHPBB_VERSION="3.3"
- PHPBB_LANGUAGE="sk"
sudo: false
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]]; then phpenv config-rm xdebug.ini; fi;
- composer self-update
- composer --version
install:
- mkdir -p $PHPBB_VERSION/$PHPBB_LANGUAGE
- mkdir -p $PHPBB_VERSION/en/language
- mkdir -p $PHPBB_VERSION/en/styles/prosilver/theme
- mv language $PHPBB_VERSION/$PHPBB_LANGUAGE
- mv styles $PHPBB_VERSION/$PHPBB_LANGUAGE
- git clone "https://github.com/phpbb/phpbb.git" --branch=$PHPBB_BRANCH
- mv phpbb/phpBB/language/en $PHPBB_VERSION/en/language
- mv phpbb/phpBB/styles/prosilver/theme/en $PHPBB_VERSION/en/styles/prosilver/theme
- composer install --no-interaction --prefer-source
script:
- php vendor/bin/translation.php validate --phpbb-version=$PHPBB_VERSION $PHPBB_LANGUAGE --display-notices