Giter Site home page Giter Site logo

Comments (11)

ligaz avatar ligaz commented on August 17, 2024

There is an issue in the CLI that we do not start the application when it is not previously installed on the device. The issue is already fixed (NativeScript/nativescript-cli#1545) in 1.6.2 that will be available in the coming days.

Alternatively you can temporary fix this the same way we do it here: https://github.com/NativeScript/nativescript-angular/blob/master/.travis.yml#L35

from sample-groceries.

tjvantoll avatar tjvantoll commented on August 17, 2024

I’ll just hold off until 1.6.2 is out and make sure it fixes the problem here. Thanks @ligaz.

from sample-groceries.

ligaz avatar ligaz commented on August 17, 2024

The 1.6.2 version is out. You should update the .travis.yml with the following:

tns test android --emulator --justlaunch

We are considering enabling --justlaunch as a default option so that you do not have to specify it but this probably will be available in the next release.

from sample-groceries.

tjvantoll avatar tjvantoll commented on August 17, 2024

@ligaz Hmmm... just tried again after adding --justlaunch and I’m still getting the same error: https://travis-ci.org/NativeScript/sample-Groceries/builds/113206863

from sample-groceries.

ligaz avatar ligaz commented on August 17, 2024

We have a new version of the nativescript-unit-test-runner package that should address this issue. Can you please upgrade it and give it another try?

from sample-groceries.

tjvantoll avatar tjvantoll commented on August 17, 2024

@ligaz Still no luck https://travis-ci.org/NativeScript/sample-Groceries/builds/115081784

from sample-groceries.

rosen-vladimirov avatar rosen-vladimirov commented on August 17, 2024

@tjvantoll
I've tried the steps manually and they seems to work on my side. It looks like node_modules is not correct. I'm not sure what's the caching of node_modules, but can you try removing this line:
https://github.com/NativeScript/sample-Groceries/blob/master/.travis.yml#L16

from sample-groceries.

tjvantoll avatar tjvantoll commented on August 17, 2024

Hmmm... with that change the Android build failed but Travis thinks it passed https://travis-ci.org/NativeScript/sample-Groceries/builds/115421047. Also this doesn’t seem related 😕

This isn’t a huge deal. I’ll see if this repeats itself as I commit to this repo.

from sample-groceries.

tjvantoll avatar tjvantoll commented on August 17, 2024

This worked on a subsequent commit, so I’ll assume the previous problem was some random issue, but I’ll continue to monitor these runs.

Closing this for now as as all seems well. Thanks @rosen-vladimirov @ligaz!

from sample-groceries.

rosen-vladimirov avatar rosen-vladimirov commented on August 17, 2024

Hey @tjvantoll , I've created a PR, that's passing the PR build:
https://travis-ci.org/NativeScript/sample-Groceries/builds/116765697

from sample-groceries.

covex-nn avatar covex-nn commented on August 17, 2024

I copied your .travis.yml to my project. Build was Done. Your build exited with 0., but it was stopped on Build 40% with error :asbg:generateInterfaceNamesList/ig/GetInterfaceNames : Unsupported major.minor version 52.0

So i forked you repository, added jdk: oraclejdk8 to .travis.yml (it was a guess) and Project was successfuly build

But i think tests were not executed:

NativeScript / 19 (4.4.4; sdk): Executed 0 of 0 SUCCESS (0 secs / 0 secs)
ERROR (0.17 secs / 0 secs)

from sample-groceries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.