multi language serial

Showing 1-18 of 18 messages
multi language serial j...@a1m.biz 8/23/13 4:59 AM
i have a project essentially consisting of json-schemas with tests for ruby, php (and javascript yet to come).

My goal is running the tests one by one in each language and version:

1) rvm 1.9.3
2) rvm 2.0.0
3) rvm jruby-19mode
4) php 5.3
5) php 5.4
6) php 5.5


my .travis.yml
-----------------
language: ruby
bundler_args: --without debug
rvm:
  - 1.9.3
  - 2.0.0
  - jruby-19mode

language: php
php:
  - 5.5
  - 5.4
  - 5.3
before_script: composer install
script: test/travis.sh
-----------------
with
test/travis.sh
-----------------
#!/bin/bash

rake

php php/all.php
-----------------

But got a Build Matrix of all combinations of ruby and php.
php / composer not beeing there and so the php tests not running.

      Rvm                   Php
1)   1.9.3                  5.3
2)   1.9.3                  5.4
3)   1.9.3                  5.5
4)   2.0.0                  5.3
5)   2.0.0                  5.4
6)   2.0.0                  5.5
7)  jruby-19mode 5.3
8)  jruby-19mode 5.4
9)  jruby-19mode 5.5

I tried matrix exclude/include without any usefull result.
I'm pretty stuck now.

Is there a way to run multiple language tests in serial?

Thanks in advance

Jan
Re: [travis-ci] multi language serial Mathias Meyer 8/23/13 5:50 AM
Jan,

I'm sorry, but right now we don't support multi-language projects.

It's something we have on our roadmap, but I don't have an ETA on the when.

Cheers, Mathias
--
 
---
You received this message because you are subscribed to the Google Groups "travis-ci" group.
To unsubscribe from this group and stop receiving emails from it, send an email to travis-ci+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [travis-ci] multi language serial j...@a1m.biz 8/27/13 1:06 AM
Hi Mathias,

thank your for answering.

From my 'user' point of view I had an idea ...

Multiple .travis.yml files, one for one language:

.travis_javascript.yml
.travis_php.yml
.travis_ruby.yml

Travis then not looks for the exact filename .travis.yml but matches by wiltecard .travis*.yml and processes them one by one.

.travis_javascript.yml
-------------------
language: node_js
node_js:
  - "0.11"
  - "0.10"
  - "0.8"
  - "0.6"
-------------------

.travis_php.yml
-------------------
php:
 - 5.3
 - 5.4
 - 5.5
before_script: composer install
script: php test/php/all.php
-------------------

.travis_ruby.yml
-------------------
language: ruby
bundler_args: --without debug
rvm:
  - 1.9.3
  - 2.0.0
  - jruby-19mode
-------------------

So the environments could be configured as they are now but just multiples of them.

Prost, Jan
Re: [travis-ci] multi language serial Mathias Meyer 8/28/13 9:33 AM
Jan,

I like the general idea, but we can't easily do globs via the GitHub API, but something along this line would be nice to have, for sure.

Thanks!

Cheers, Mathias
--
 
---
You received this message because you are subscribed to the Google Groups "travis-ci" group.
To unsubscribe from this group and stop receiving emails from it, send an email to travis-ci+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [travis-ci] multi language serial Petri Fast 10/26/13 4:16 PM
Mathias,

I would be interested in support for multiple languages and I am willing to implement it if that's possible.

Specifically, I'm looking for a way to support builds on Linux and OS X. Currently, I can only get OS X builds by choosing language: objective-c.

What would be the easiest thing to implement in travis-ci to allow me to get in one run both Linux & OS X builds or, alternatively, in one run get first language: c and then language: objective-c?

Could you suggest what to look at in the source?  I'd like to take a crack at implementing this.

Thanks,
Petri
Re: [travis-ci] multi language serial Damien Le Berrigaud 11/12/13 8:01 AM
Is there any news (ETA?) on the above feature?
We would like to be able to build both Ruby and Go on our current project (https://github.com/cloudfoundry/bosh)

Thanks,
Damien
Re: [travis-ci] multi language serial Mathias Meyer 11/12/13 9:47 AM
We don’t have an ETA, sorry, but it’s on our immediate roadmap, so soon is the best answer we can currently give :)

Cheers, Mathias
Re: [travis-ci] multi language serial Damien Le Berrigaud 11/13/13 9:28 AM
Thanks for the update!
Re: [travis-ci] multi language serial Pathikrit Bhowmick 1/27/14 12:55 PM
Any update on this? ETA? We have a single project that has a Scala backend and an iOS front-end. If this feature is not within 2014 roadmap, we will probably move to some other platform.
Re: [travis-ci] multi language serial Mathias Meyer 1/28/14 11:20 AM
Pathikrit,

This feature is on the horizon.

Just out of curiosity, are the two projects sharing the same repository?

Thanks!

Cheers, Mathias
Re: [travis-ci] multi language serial Pathikrit Bhowmick 1/28/14 12:26 PM
Yes, all our code is in single repo. I know there is a religious debate whether orgs should put their different components in multiple or single repos - we went with latter so we could write cleaner full-stack integration tests without having to checkout multiple repos

Here is what our repo looks like:

root/
  server/ - backend scala play server
  weabpp/ - front end angular app
  ios/ objective-c ios app
  android/  java android app
  integration/ python scripts that run android/ios integration tests

Right now, it is very hard for us to use travis since it expects one single language/environment. If you could support multiple languages it would be great.

My suggestions: the top-level .travis.yml file can either be a single language file or point to more children file e.g. I would like my top-level .travis.yml file to look like these

.travis.yml:

modules:
 - server/.travis.yml
 - webapp/.travis.yml
 - ios/.travis.yml
 - android/.travis.yml
 - integration/.travis.yml


and each sub module .travis.yml would simply be regular travis files?







--
 
---
You received this message because you are subscribed to a topic in the Google Groups "travis-ci" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/travis-ci/3pzCgvxWZAo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to travis-ci+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Re: [travis-ci] multi language serial Alex Dean 3/5/14 10:31 AM
Just seen this,

I agree exactly with Pathikrit - his syntax would work great for us at Snowplow. We have a master repo (snowplow/snowplow) which has a variety of sub-components which are each completely standalone, with individual test suites; components are Scala, Clojure, JavaScript.


Here is what our repo looks like:

root/
  1-trackers/ - set of submodule'd in event trackers (with own Travis test suites, that's fine)
  2-collectors/ - set of event collectors, including one in Scala and one in Clojure
  3-enrich/ - set of separate Scala projects
  4-storage/ - SQL, no tests
  5-analytics/ - SQL and YAML, no tests

Pathikrit's idea of a parent .travis.yml linking to child files in individual sub-folders would work great for us. At the moment Travis works great for people who have monolithic single-repo architectures or are making exclusive use of git submodules but not for people with loosely-coupled component architectures in single repos...

A
Re: [travis-ci] multi language serial Adriaan Moors 3/27/14 12:19 PM
+1!

scala/scala will soon contain both code (for now still validated using jenkins :-(, but would like to move to Travis) and the spec (built using jekyll)
I guess we can work around it, but would be great to have support for .travis.yml in subdirectories.
Re: [travis-ci] multi language serial Alex Dean 3/28/14 1:35 AM
As a bonus feature, it would be great if we could have a way of embedding Travis buttons in the subdirectories' READMEs - so you could see at a glance the build status of the individual subcomponents...

A


--

---
You received this message because you are subscribed to a topic in the Google Groups "travis-ci" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/travis-ci/3pzCgvxWZAo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to travis-ci+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Co-founder
Snowplow Analytics
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 (0)203 589 6116
+44 7881 622 925
@alexcrdean
Re: [travis-ci] multi language serial Pathikrit Bhowmick 4/4/14 10:06 PM
+1
Re: [travis-ci] multi language serial Matt Oakes 6/5/14 2:42 AM
Are there any updates for this feature? We have a repository which includes JavaScript tests, Android tests and (soon) iOS tests. It would be great to be able to test them using Travis-CI!
Re: [travis-ci] multi language serial Mathias Meyer 6/5/14 5:29 AM
Hey Matt,

What you're after can be achieved today, though with a bit of a workaround.

Node.js is installed on the Android machines, so you could run your
JavaScript tests on there as well. Here's an example:

env:
  - TESTS=android
  - TESTS=javascript
script:
  - [ "${TESTS}" = "android" ] && run-android.sh || true
  - [ "${TESTS]" = "javascript" ] && run-nodejs.sh || true

This could probably be combined with an iOS version as well based on
our recently launched multi operating systems feature:
http://blog.travis-ci.com/2014-05-13-multi-os-feature-available/

Cheers, Mathias
> You received this message because you are subscribed to the Google Groups
> "travis-ci" group.
> To unsubscribe from this group and stop receiving emails from it, send an
Re: [travis-ci] multi language serial Matt Oakes 6/6/14 12:15 AM
Hi Mathias,

Thanks! I'll have to try this out!

Matt