You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Rajan Maurya <ra...@gmail.com> on 2016/06/07 04:05:34 UTC

Enable Travis in Taverna Mobile

Hi Stain, Ian,Alan,

I found that taverna mobile does not have Continuous Integration System. So
I suggest Travis because it very popular.

After that, future PR will automatically be tested and It will be very easy
to me to Review the code.



-- 
*Thanks*
*Namaste*

Rajan Maurya
Contact Number : +91 8010665248
Github : https://github.com/therajanmaurya
College : Cluster Innovation Centre, University of Delhi
Student : B.Tech. (Information Technology & Mathematical Innovations)

Re: Enable Travis in Taverna Mobile

Posted by Ian Dunlop <ia...@gmail.com>.
Hello,

I'm happy to use either jenkins or travis. However this will only check
that things build since I don't think there are many unit tests. Something
to consider for the future.

Cheers,

Ian

On 10 June 2016 at 11:50, Sagar <ku...@gmail.com> wrote:

> Hi Stian, Rajan,
>
> I have open #PR
> <https://github.com/apache/incubator-taverna-mobile/pull/16> for
> it. In which I have added required configuration file and updated gradle
> version to 2.10 to run Travis CI.
>
> You only need to enable the following option in Travis CI project setting.
>
>    - Build pushes
>    - Build pull requests
>
>
> On Fri, Jun 10, 2016 at 12:27 PM, Rajan Maurya <ra...@gmail.com>
> wrote:
>
> > Hi,
> >
> > Ok, Sagar will update the build tools.
> >
> > Sagar follows these things and set up the Travis on your fork.
> >
> > 1. Update Build Tools.
> >
> > 2. sign-up Here travis-ci.org and add your fork project there.
> >
> > 3. make a file .travis.xml and add to your home git directory.
> >     For Example, you can look :
> > https://github.com/openMF/android-client/blob/master/.travis.yml
> >
> > Final Push to your fork  and go to the travis-ci.org and check Travis is
> > setup successfully.
> >
> > update me if get any difficulties.
> >
> >
> > On Wed, Jun 8, 2016 at 4:13 PM, Stian Soiland-Reyes <st...@apache.org>
> > wrote:
> >
> > > Agree that we should try to use ASF's Jenkins first. I can configure
> > > it to check the pull requests, it can do similar comments in GitHub -
> > > we've got that set up on
> > >
> > >
> > >
> >
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-language-pull-requests/
> > >
> > >
> > > What is the right command etc. to test the Taverna Mobile build?
> > > (What would you have used for Travis?)
> > >
> > >
> > >
> > > gradle test?
> > >
> > > I get:
> > >
> > > > Plugin is too old, please update to a more recent version, or set
> > > ANDROID_DAILY_OVERRIDE environment variable to
> > > "55c32853b5a3868d3219a9a4e86a91161f9a794f"
> > > >
> > > FAILURE: Build failed with an exception.
> > > >
> > > > * Where:
> > > > Build file
> > > '/home/stain/src/taverna/incubator-taverna-mobile/app/build.gradle'
> > line: 1
> > >
> > >
> > > (I think it is unhappy as I don't have the Android SDK installed)
> > >
> > >
> > > We can use Docker on Jenkins, so if there's a good docker base image
> > > that will help.
> > >
> > >
> > > We could use Travis CI as well, but it's a bit trickier to control as
> > > we don't have direct Github-management access under apache/
> > >
> > > https://travis-ci.org/apache/
> > >
> > > On 7 June 2016 at 09:23, Andy Seaborne <an...@apache.org> wrote:
> > > > On 07/06/16 05:05, Rajan Maurya wrote:
> > > >>
> > > >> Hi Stain, Ian,Alan,
> > > >>
> > > >> I found that taverna mobile does not have Continuous Integration
> > System.
> > > >> So
> > > >> I suggest Travis because it very popular.
> > > >>
> > > >> After that, future PR will automatically be tested and It will be
> very
> > > >> easy
> > > >> to me to Review the code.
> > > >>
> > > >>
> > > >>
> > > >
> > > > Apache has a Jenkins service.
> > > >
> > > > https://builds.apache.org/
> > > >
> > > > e.g.
> > > >
> > >
> >
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-engine/
> > > >
> > > >     Andy
> > > >
> > >
> > >
> > >
> > > --
> > > Stian Soiland-Reyes
> > > Apache Taverna (incubating), Apache Commons
> > > http://orcid.org/0000-0001-9842-9718
> > >
> >
> >
> >
> > --
> > *Thanks*
> > *Namaste*
> >
> > Rajan Maurya
> > Contact Number : +91 8010665248
> > Github : https://github.com/therajanmaurya
> > College : Cluster Innovation Centre, University of Delhi
> > Student : B.Tech. (Information Technology & Mathematical Innovations)
> >
>
>
>
> --
>
> *With warm regards  *
> *Sincerely yours*
> Sagar
>
>
> *Student ,(6th Semester )B.Tech IT and mathematical innovation*
> *Cluster Innovation Centre*
> *University of Delhi *
>

Re: Enable Travis in Taverna Mobile

Posted by Sagar <ku...@gmail.com>.
Hi Stian, Rajan,

I have open #PR
<https://github.com/apache/incubator-taverna-mobile/pull/16> for
it. In which I have added required configuration file and updated gradle
version to 2.10 to run Travis CI.

You only need to enable the following option in Travis CI project setting.

   - Build pushes
   - Build pull requests


On Fri, Jun 10, 2016 at 12:27 PM, Rajan Maurya <ra...@gmail.com>
wrote:

> Hi,
>
> Ok, Sagar will update the build tools.
>
> Sagar follows these things and set up the Travis on your fork.
>
> 1. Update Build Tools.
>
> 2. sign-up Here travis-ci.org and add your fork project there.
>
> 3. make a file .travis.xml and add to your home git directory.
>     For Example, you can look :
> https://github.com/openMF/android-client/blob/master/.travis.yml
>
> Final Push to your fork  and go to the travis-ci.org and check Travis is
> setup successfully.
>
> update me if get any difficulties.
>
>
> On Wed, Jun 8, 2016 at 4:13 PM, Stian Soiland-Reyes <st...@apache.org>
> wrote:
>
> > Agree that we should try to use ASF's Jenkins first. I can configure
> > it to check the pull requests, it can do similar comments in GitHub -
> > we've got that set up on
> >
> >
> >
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-language-pull-requests/
> >
> >
> > What is the right command etc. to test the Taverna Mobile build?
> > (What would you have used for Travis?)
> >
> >
> >
> > gradle test?
> >
> > I get:
> >
> > > Plugin is too old, please update to a more recent version, or set
> > ANDROID_DAILY_OVERRIDE environment variable to
> > "55c32853b5a3868d3219a9a4e86a91161f9a794f"
> > >
> > FAILURE: Build failed with an exception.
> > >
> > > * Where:
> > > Build file
> > '/home/stain/src/taverna/incubator-taverna-mobile/app/build.gradle'
> line: 1
> >
> >
> > (I think it is unhappy as I don't have the Android SDK installed)
> >
> >
> > We can use Docker on Jenkins, so if there's a good docker base image
> > that will help.
> >
> >
> > We could use Travis CI as well, but it's a bit trickier to control as
> > we don't have direct Github-management access under apache/
> >
> > https://travis-ci.org/apache/
> >
> > On 7 June 2016 at 09:23, Andy Seaborne <an...@apache.org> wrote:
> > > On 07/06/16 05:05, Rajan Maurya wrote:
> > >>
> > >> Hi Stain, Ian,Alan,
> > >>
> > >> I found that taverna mobile does not have Continuous Integration
> System.
> > >> So
> > >> I suggest Travis because it very popular.
> > >>
> > >> After that, future PR will automatically be tested and It will be very
> > >> easy
> > >> to me to Review the code.
> > >>
> > >>
> > >>
> > >
> > > Apache has a Jenkins service.
> > >
> > > https://builds.apache.org/
> > >
> > > e.g.
> > >
> >
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-engine/
> > >
> > >     Andy
> > >
> >
> >
> >
> > --
> > Stian Soiland-Reyes
> > Apache Taverna (incubating), Apache Commons
> > http://orcid.org/0000-0001-9842-9718
> >
>
>
>
> --
> *Thanks*
> *Namaste*
>
> Rajan Maurya
> Contact Number : +91 8010665248
> Github : https://github.com/therajanmaurya
> College : Cluster Innovation Centre, University of Delhi
> Student : B.Tech. (Information Technology & Mathematical Innovations)
>



-- 

*With warm regards  *
*Sincerely yours*
Sagar


*Student ,(6th Semester )B.Tech IT and mathematical innovation*
*Cluster Innovation Centre*
*University of Delhi *

Re: Enable Travis in Taverna Mobile

Posted by Rajan Maurya <ra...@gmail.com>.
Hi,

Ok, Sagar will update the build tools.

Sagar follows these things and set up the Travis on your fork.

1. Update Build Tools.

2. sign-up Here travis-ci.org and add your fork project there.

3. make a file .travis.xml and add to your home git directory.
    For Example, you can look :
https://github.com/openMF/android-client/blob/master/.travis.yml

Final Push to your fork  and go to the travis-ci.org and check Travis is
setup successfully.

update me if get any difficulties.


On Wed, Jun 8, 2016 at 4:13 PM, Stian Soiland-Reyes <st...@apache.org>
wrote:

> Agree that we should try to use ASF's Jenkins first. I can configure
> it to check the pull requests, it can do similar comments in GitHub -
> we've got that set up on
>
>
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-language-pull-requests/
>
>
> What is the right command etc. to test the Taverna Mobile build?
> (What would you have used for Travis?)
>
>
>
> gradle test?
>
> I get:
>
> > Plugin is too old, please update to a more recent version, or set
> ANDROID_DAILY_OVERRIDE environment variable to
> "55c32853b5a3868d3219a9a4e86a91161f9a794f"
> >
> FAILURE: Build failed with an exception.
> >
> > * Where:
> > Build file
> '/home/stain/src/taverna/incubator-taverna-mobile/app/build.gradle' line: 1
>
>
> (I think it is unhappy as I don't have the Android SDK installed)
>
>
> We can use Docker on Jenkins, so if there's a good docker base image
> that will help.
>
>
> We could use Travis CI as well, but it's a bit trickier to control as
> we don't have direct Github-management access under apache/
>
> https://travis-ci.org/apache/
>
> On 7 June 2016 at 09:23, Andy Seaborne <an...@apache.org> wrote:
> > On 07/06/16 05:05, Rajan Maurya wrote:
> >>
> >> Hi Stain, Ian,Alan,
> >>
> >> I found that taverna mobile does not have Continuous Integration System.
> >> So
> >> I suggest Travis because it very popular.
> >>
> >> After that, future PR will automatically be tested and It will be very
> >> easy
> >> to me to Review the code.
> >>
> >>
> >>
> >
> > Apache has a Jenkins service.
> >
> > https://builds.apache.org/
> >
> > e.g.
> >
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-engine/
> >
> >     Andy
> >
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons
> http://orcid.org/0000-0001-9842-9718
>



-- 
*Thanks*
*Namaste*

Rajan Maurya
Contact Number : +91 8010665248
Github : https://github.com/therajanmaurya
College : Cluster Innovation Centre, University of Delhi
Student : B.Tech. (Information Technology & Mathematical Innovations)

Re: Enable Travis in Taverna Mobile

Posted by Stian Soiland-Reyes <st...@apache.org>.
Agree that we should try to use ASF's Jenkins first. I can configure
it to check the pull requests, it can do similar comments in GitHub -
we've got that set up on

https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-language-pull-requests/


What is the right command etc. to test the Taverna Mobile build?
(What would you have used for Travis?)



gradle test?

I get:

> Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "55c32853b5a3868d3219a9a4e86a91161f9a794f"
>
FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/home/stain/src/taverna/incubator-taverna-mobile/app/build.gradle' line: 1


(I think it is unhappy as I don't have the Android SDK installed)


We can use Docker on Jenkins, so if there's a good docker base image
that will help.


We could use Travis CI as well, but it's a bit trickier to control as
we don't have direct Github-management access under apache/

https://travis-ci.org/apache/

On 7 June 2016 at 09:23, Andy Seaborne <an...@apache.org> wrote:
> On 07/06/16 05:05, Rajan Maurya wrote:
>>
>> Hi Stain, Ian,Alan,
>>
>> I found that taverna mobile does not have Continuous Integration System.
>> So
>> I suggest Travis because it very popular.
>>
>> After that, future PR will automatically be tested and It will be very
>> easy
>> to me to Review the code.
>>
>>
>>
>
> Apache has a Jenkins service.
>
> https://builds.apache.org/
>
> e.g.
> https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-engine/
>
>     Andy
>



-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

Re: Enable Travis in Taverna Mobile

Posted by Andy Seaborne <an...@apache.org>.
On 07/06/16 05:05, Rajan Maurya wrote:
> Hi Stain, Ian,Alan,
>
> I found that taverna mobile does not have Continuous Integration System. So
> I suggest Travis because it very popular.
>
> After that, future PR will automatically be tested and It will be very easy
> to me to Review the code.
>
>
>

Apache has a Jenkins service.

https://builds.apache.org/

e.g.
https://builds.apache.org/view/Incubator%20Projects/job/incubator-taverna-engine/

     Andy