-
Notifications
You must be signed in to change notification settings - Fork 14
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
update the perl versions currently supported by travis #14
Conversation
Alternative before_install:
- sudo apt-get update
- sudo apt-get install -qq unixodbc unixodbc-dev
- sudo apt-get install -qq libsqliteodbc
- if [ -z "$PERLBREW_PERL" ]; then eval $(curl https://travis-perl.github.io/init) --auto; fi
env:
global:
- DBI_DSN=dbi:ODBC:DRIVER=SQLite3
matrix:
- DBD_ODBC_UNICODE=1
-
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.22-shrplib"
- "5.24"
- "5.24-shrplib"
- "5.26"
- "5.26-shrplib"
- "5.28"
- "5.30"
notifications:
email:
recipents:
- [email protected]
on_success: always
on_failure: always
irc:
channels:
- "irc.perl.org#dbi"
on_success: change
on_failure: always If official travis does not support particular Perl version then script fallbacks to use Perl from unofficial (but better) travis-perl project. I suggest to do not drop testing of old Perl versions which are still usable with DBD::ODBC. |
@markusbeth Any reason why not to test old perl versions? |
There is absolutely no reason to not test old perl versions as long as the tests work as expected. When I opened PR #13 travis told me that almost all tests failed. But the tests do not fail due to my changes but because the configured perl version could not be installed. As I did not know about the travis-perl project the only (or simplest) solution in my eyes was to adapt the perl versions to test to those officially provided by travis. |
I created PR #16 with my above approach. |
Does your approach @pali work as I've not seen a successful run through. I'm happy to merge it if it works. |
@mjegh currently it is failing on error:
And message Lines 201 to 213 in 336fe97
Is there a way how to avoid waiting for return key which on Travis obviously cannot be pressed?
|
Is there something set in Travis the script can check for so we don't prompt on Travis. |
Now I'm looking at that |
In general you can detect if you are on Travis-CI by checking the environment variables. You can check either for CI=true or the more specific TRAVIS=true |
Setting |
No description provided.