diff --git a/.travis.yml b/.travis.yml index 2ee09a1d..3ea7e699 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +sudo: required +dist: trusty language: php php: - 7.1 @@ -10,7 +12,6 @@ addons: - mysql-server-5.6 - mysql-client-core-5.6 - mysql-client-5.6 - - libxml2-utils services: - postgresql @@ -25,8 +26,8 @@ env: matrix: include: - php: 7.1 - env: "DB=mysql TEST_JS=TRUE" - fast_finish: true + env: "DB=sqlite TEST_JS=TRUE" + fast_finish: true branches: only: @@ -55,13 +56,8 @@ before_script: - cd core/apps/recommendations script: - # Check info.xml schema validity - - wget https://apps.nextcloud.com/schema/apps/info.xsd - - xmllint appinfo/info.xml --schema info.xsd --noout - - rm info.xsd - # Run server's app code checker - - php ../../occ app:check-code recommendations + - php ../../occ app:check-code --skip-validate-info recommendations # Build JS - sh -c "if [ '$TEST_JS' = 'TRUE' ]; then npm run build; fi" diff --git a/package-lock.json b/package-lock.json index d49e19c8..9931eb6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -457,6 +457,15 @@ "@babel/helper-plugin-utils": "^7.0.0" } }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz", + "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0" + } + }, "@babel/plugin-syntax-json-strings": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz", @@ -1352,12 +1361,6 @@ "util.promisify": "^1.0.0" } }, - "babel-plugin-syntax-dynamic-import": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", - "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", - "dev": true - }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", diff --git a/package.json b/package.json index d8212db3..20ebe0ed 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,9 @@ }, "devDependencies": { "@babel/core": "^7.3.4", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/preset-env": "^7.3.4", "babel-loader": "^8.0.5", - "babel-plugin-syntax-dynamic-import": "^6.18.0", "css-loader": "^2.1.1", "node-sass": "^4.11.0", "sass-loader": "^7.1.0",