O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

GitHub and Travis integration

Here is how you can do some integration with GitHub and Travis; this will allow your NativeScript Testing framework, which we discussed in the preceding chapter, to automatically run your tests on each change or pull request. Create a new .travis.yml file in the very root of your GitHub repository. This file should look like this:

language: androidjdk: oraclejdk8android: components: - tools - platform-tools - build-tools-25.0.2 - android-25 - extra-android-m2repository - sys-img-armeabi-v7a-android-21before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lockcache: directories: - .nvm - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/install: - nvm install node - npm install -g nativescript - tns usage-reporting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required