Migrate to jobs
This commit is contained in:
parent
4684e28fdb
commit
105282b6a3
1 changed files with 18 additions and 16 deletions
30
.travis.yml
30
.travis.yml
|
@ -16,22 +16,24 @@ cache:
|
||||||
#services:
|
#services:
|
||||||
# - mysql
|
# - mysql
|
||||||
|
|
||||||
before_install:
|
jobs:
|
||||||
# - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
|
include:
|
||||||
# - sudo mysql_upgrade -u root -ppassword
|
- stage: "Build"
|
||||||
# - sudo service mysql restart
|
name: "Build Spee.ch"
|
||||||
# - mysql -u root -ppassword -e 'CREATE DATABASE IF NOT EXISTS lbry;'
|
|
||||||
# - mysql -u root -ppassword -e "CREATE USER 'lbry'@'localhost' IDENTIFIED BY 'lbry';"
|
before_install:
|
||||||
# - mysql -u root -ppassword -e "GRANT ALL ON lbry.* TO 'lbry'@'localhost';"
|
# - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
|
||||||
# - sudo service mysql restart
|
# - sudo mysql_upgrade -u root -ppassword
|
||||||
|
# - sudo service mysql restart
|
||||||
|
# - mysql -u root -ppassword -e 'CREATE DATABASE IF NOT EXISTS lbry;'
|
||||||
|
# - mysql -u root -ppassword -e "CREATE USER 'lbry'@'localhost' IDENTIFIED BY 'lbry';"
|
||||||
|
# - mysql -u root -ppassword -e "GRANT ALL ON lbry.* TO 'lbry'@'localhost';"
|
||||||
|
# - sudo service mysql restart
|
||||||
- dpkg --compare-versions `npm -v` ge 6.4.0 || npm i -g npm@^6.4.0
|
- dpkg --compare-versions `npm -v` ge 6.4.0 || npm i -g npm@^6.4.0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm i
|
- npm i
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run fix
|
# - npm run fix
|
||||||
- npm run build
|
- npm run build
|
||||||
- git diff --exit-code
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue