mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
travis update
This commit is contained in:
parent
3725882945
commit
27d5bcb129
@ -4,7 +4,7 @@ node_js:
|
||||
- '10'
|
||||
- '11'
|
||||
env:
|
||||
- Server-database-mysql-host='localhost' Server-database-mysql-username='root' rver-database-mysql-password='' Server-database-mysql-database='pigallery2_travis'
|
||||
- "Server-database-mysql-host"='localhost' "Server-database-mysql-username"='root' "Server-database-mysql-password"='' "Server-database-mysql-database"='pigallery2_travis'
|
||||
services:
|
||||
- mysql
|
||||
addons:
|
||||
|
@ -113,6 +113,7 @@ const simpleBuild = (isProd: boolean) => {
|
||||
createFrontendTask('build-frontend default', cmd + '--output-path=./dist --no-progress --no-progress --i18n-locale en' +
|
||||
' --i18n-format=xlf --i18n-file=frontend/' + translationFolder + '/messages.en.xlf' + ' --i18n-missing-translation warning');
|
||||
tasks.push('build-frontend default');
|
||||
if (!process.env.CI) { // don't build languages if running in CI
|
||||
for (let i = 0; i < languages.length; i++) {
|
||||
createFrontendTask('build-frontend ' + languages[i], cmd +
|
||||
'--output-path=./dist/' + languages[i] +
|
||||
@ -121,6 +122,7 @@ const simpleBuild = (isProd: boolean) => {
|
||||
'/messages.' + languages[i] + '.xlf' + ' --i18n-missing-translation warning');
|
||||
tasks.push('build-frontend ' + languages[i]);
|
||||
}
|
||||
}
|
||||
return gulp.series(...tasks);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user