diff --git a/.travis.yml b/.travis.yml index 23f1a60..32ea520 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,23 +15,11 @@ env: - IOS_PACKAGE_FOLDER_VUE=$TRAVIS_BUILD_DIR/demo-vue/outputs - IOS_SAUCE_STORAGE="https://saucelabs.com/rest/v1/storage/$SAUCE_USER" -git: - depth: 1 - branches: only: - next matrix: include: - - stage: "lint" - language: node_js - os: linux - node_js: "8" - script: - - cd ../src && npm run ci.tslint - - cd ../demo && npm run ci.tslint - - cd ../demo-angular && npm run ci.tslint - - stage: "WebPack and Build" os: osx env: @@ -153,15 +141,6 @@ android: - android-28 - extra-android-m2repository -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - -cache: - directories: - - .nvm - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - before_install: - sudo pip install --upgrade pip - sudo pip install six @@ -178,6 +157,7 @@ install: - npm install nativescript-dev-webpack@next -D - npm install nativescript-dev-typescript@next -D - ./node_modules/.bin/update-ns-webpack --deps --configs + - npx rimraf -- hooks node_modules platforms package-lock.json - npm install -D wd@latest - cd ../demo-angular - npm install tns-core-modules@next -P @@ -186,10 +166,12 @@ install: - npm install nativescript-dev-typescript@next -D - ./node_modules/.bin/update-ns-webpack --deps --configs - ./node_modules/.bin/update-app-ng-deps + - npx rimraf -- hooks node_modules platforms package-lock.json - npm install -D wd@latest - cd ../demo-vue - npm install tns-core-modules@next -P - npm install nativescript-dev-webpack@next -D - npm install nativescript-dev-typescript@next -D - ./node_modules/.bin/update-ns-webpack --deps --configs + - npx rimraf -- hooks node_modules platforms package-lock.json - npm install -D wd@latest