From 559ce248d041c8acf4839763b2ca90548f55375b Mon Sep 17 00:00:00 2001 From: Daniel Holmes Date: Wed, 12 Feb 2020 15:33:10 +1100 Subject: [PATCH] Try and fix travis build --- .travis.yml | 5 ++--- bgaproject.yml.travis.dist | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 bgaproject.yml.travis.dist diff --git a/.travis.yml b/.travis.yml index 89a664b..d7ce939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ before_script: - printf "\n" | pecl install imagick - sudo apt-get install -y pngquant - composer install - - echo "USE mysql;\nUPDATE user SET password=PASSWORD('battle218pw') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root # Yarn - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg @@ -25,8 +24,8 @@ before_script: - yarn install script: - - yarn lint - - cp bgaproject.yml.dist bgaproject.yml + - yarn lint:check + - cp bgaproject.yml.travis.dist bgaproject.yml - composer compile-images > /dev/null - composer clean - composer build diff --git a/bgaproject.yml.travis.dist b/bgaproject.yml.travis.dist new file mode 100644 index 0000000..f25221c --- /dev/null +++ b/bgaproject.yml.travis.dist @@ -0,0 +1,14 @@ +useComposer: true + +extraSrc: + - src/TheBattleForHill218 + +testDb: + namePrefix: battleforhill_test_ + user: root + pass: "" + +sftp: + host: "" + user: "" + pass: ""