Skip to content
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

Disable sudo in Travis to use the new enviroment #7458

Merged
merged 2 commits into from
Jul 18, 2015

Conversation

Bakual
Copy link
Contributor

@Bakual Bakual commented Jul 18, 2015

According to http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade we can migrate to the new Travis infrastructure by just adding sudo: false to our .travis.yml file.

This PR does this and it indeed run a bit faster.

@Bakual
Copy link
Contributor Author

Bakual commented Jul 18, 2015

Last Travis runs were around 6-8 minutes. With this change it's around 4-6 minutes. So it's a bit faster 😄

@mbabker
Copy link
Contributor

mbabker commented Jul 18, 2015

I did it on the 3.5-dev branch not wanting to touch staging with it yet. But if we're good with this change being applied to everything going forward, then merge it.

@Bakual
Copy link
Contributor Author

Bakual commented Jul 18, 2015

Oh, didn't even notice this. 👍
Will adjust then to use the same code as you did in 3.5.
I think it should be fine as long as Travis passes.

@dgrammatiko
Copy link
Contributor

APCu is not available by default for PHP 5.5 and 5.6. I guess this is needed:

# +5.5 uses APCU
  - if [ "`phpenv version-name`" != "5.4" ] && [ "`phpenv version-name`" != "5.3" ] && [ "`phpenv version-name`" != "hhvm" ]; then printf "\n"| pecl install apcu-beta && echo -e "extension = apcu.so\napc.enabled=1\napc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi

@mbabker
Copy link
Contributor

mbabker commented Jul 18, 2015

It used to be there and at some point in Travis' updates it went away.
shrug

It's just something to deal with updating at some point.

On Saturday, July 18, 2015, Dimitris Grammatiko notifications@github.com
wrote:

APCu is not available by default for PHP 5.5 and 5.6. I guess this is
needed:

+5.5 uses APCU

  • if [ "phpenv version-name" != "5.4" ] && [ "phpenv version-name" != "5.3" ] && [ "phpenv version-name" != "hhvm" ]; then printf "\n"| pecl install apcu-beta && echo -e "extension = apcu.so\napc.enabled=1\napc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi


Reply to this email directly or view it on GitHub
#7458 (comment).

Bakual pushed a commit that referenced this pull request Jul 18, 2015
Disable sudo in Travis to use the new enviroment
@Bakual Bakual merged commit 3e18574 into joomla:staging Jul 18, 2015
@Bakual Bakual deleted the UpdateTravis branch July 18, 2015 18:48
@zero-24 zero-24 added this to the Joomla! 3.4.4 milestone Jul 27, 2015
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.

None yet

5 participants