Skip to content

Adding Travis CI for building and testing the project. #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jgebal
Copy link
Contributor

@jgebal jgebal commented Feb 28, 2016

No description provided.

@jgebal jgebal force-pushed the feeature/travis-ci-builds branch 2 times, most recently from 7c59a3a to a5483e8 Compare February 28, 2016 20:03
@javornikolov
Copy link
Collaborator

@jgebal may you rebase this branch as it's in conflict after last merged PR.

- 2.2.4
- 1.9.3
- jruby-1.7.9
- jruby-9.0.4.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try with jruby-9.0.5.0 instead of 4?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but I will not make it today. Need some good sleep after few too
short nights.
On 3 Mar 2016 17:40, "Yavor Nikolov" notifications@github.com wrote:

In .travis.yml
#33 (comment):

    • chmod +x .travis/oracle/install.sh
    • chmod +x .travis/setup_accounts.sh

+install:

    • .travis/oracle/download.sh
    • .travis/oracle/install.sh
    • .travis/setup_accounts.sh
    • bundle install

+language: ruby
+rvm:

    • 2.3.0
    • 2.2.4
    • 1.9.3
    • jruby-1.7.9
    • jruby-9.0.4.0

Can we try with jruby-9.0.5.0 instead of 4?


Reply to this email directly or view it on GitHub
https://github.com/rsim/ruby-plsql-spec/pull/33/files#r54916836.

@jgebal jgebal force-pushed the feeature/travis-ci-builds branch 2 times, most recently from 189dc1d to 10f71f3 Compare March 4, 2016 09:05
@jgebal
Copy link
Contributor Author

jgebal commented Mar 4, 2016

Rebased and changed to jruby 9.0.5.0

@jgebal jgebal force-pushed the feeature/travis-ci-builds branch 2 times, most recently from 63a30d3 to 6a70cf9 Compare March 4, 2016 09:48
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
- ORACLE_BASE=/u01/app/oracle
- LD_LIBRARY_PATH=$ORACLE_HOME/lib
- PATH=$PATH:$ORACLE_HOME/jdbc/lib
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, do we really want jdbc/lib in PATH? What is it for?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, do we really want jdbc/lib in PATH? What is it for?

OK, I see now - it's to let JRuby find it.

@javornikolov
Copy link
Collaborator

Tests are passing on Travis-CI successfully. @jgebal may we just update the ruby-oci8 version (it has been pulling it from Github so far which is more recent than 2.1.x. It would be nice to be able to pick 2.2.x too).

@jgebal jgebal force-pushed the feeature/travis-ci-builds branch from 6a70cf9 to 74fd163 Compare March 4, 2016 19:17
@jgebal
Copy link
Contributor Author

jgebal commented Mar 4, 2016

Updated to 2.2.1
I've tries to run Travis with nailgun, but i was unable to succeed.
It complained about nailgun not being compiled. Maybe you'll be able to figure out how to enable it.
https://travis-ci.org/jgebal/ruby-plsql-spec/jobs/113612532#L212

Nailgun should speed up jruby tests.

@javornikolov
Copy link
Collaborator

Updated to 2.2.1

Thanks, @jgebal. What do you think about making it >= 2.1.2 - this would allow using either of 2.1.x and 2.2.x?

Nailgun should speed up jruby tests.

Looking at the huge wait time until Travis-CI build is triggered (I guess this is because we need sudo), JRuby run is not the slowest part now.

# gem 'ruby-oci8', '~> 2.1.0'
gem 'ruby-oci8', :git => 'git://github.com/kubo/ruby-oci8.git', :platforms => :mri
platforms :ruby, :mswin, :mingw do
gem 'ruby-oci8', '~> 2.2.1'
Copy link
Collaborator

@javornikolov javornikolov May 6, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about gem 'ruby-oci8', '~> 2.1'?

@javornikolov
Copy link
Collaborator

@jgebal - I just added a few remarks: to be more up-to date with version numbers. May you review and update your branch to merge it? (I think there is no urge to delve in fine-tuning jruby performance here: we can handle it separately in future).

@javornikolov
Copy link
Collaborator

javornikolov commented May 11, 2016

@jgebal - I just added a few remarks: to be more up-to date with version numbers. May you review and update your branch to merge it? (I think there is no urge to delve in fine-tuning jruby performance here: we can handle it separately in future).

I pushed a fork of this branch and PR so that I can merge it. I just added a few final touches as per my previous comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants