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

Update elm integration for 2020 #1876

Merged
merged 5 commits into from
Apr 7, 2020
Merged

Conversation

harrysarson
Copy link
Contributor

Two main changes:

  • A new patch release of elm has been released (elm 0.19.1). This pull request uses it by default when language: elm.

  • The way elm versions are tagged on npm has also changed (see 1, 2 and 3) to use tags of the form latest-0.19.1 instead of elm0.19.1. This tagging has been applied retrospectively to versions 0.18.0 onwards (all the versions that travis supports). Notably, the 0.19.1 release has not been tagged as elm0.19.1 which means the .travis.yml config:

    language: elm
    
    elm: elm0.19.1

    errors when run in travis. This PR updates travis-build to use tags of the form latest-0.19.1 by default.


This PR builds #1718, #1613, #1605 and #934

cc: @avh4, @lukewestby, @stoeffel and @rtfeldman

The versioning scheme has changed with the release of elm 0.19.0.
Instead of npm tags of the form: elmMAJOR.MINOR.PATCH elm npm
packages use tags of the form: latest-MAJOR.MINOR.PATCH.

This commit updates travis-builds logic to pick the correct prefix.
It will default to using the "latest-" prefix unless the config
it towards the "elm" prefix.
avh4
avh4 previously approved these changes Mar 14, 2020
Copy link

@avh4 avh4 left a comment

Choose a reason for hiding this comment

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

I'd prefer sticking to LTS node releases, but the rest of this looks good to me.

lib/travis/build/script/elm.rb Outdated Show resolved Hide resolved
rtfeldman
rtfeldman previously approved these changes Mar 20, 2020
Copy link
Contributor

@rtfeldman rtfeldman left a comment

Choose a reason for hiding this comment

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

Looks good! Agree about LTS being a good bet. 👍

@harrysarson harrysarson dismissed stale reviews from rtfeldman and avh4 via 959b13b March 23, 2020 14:20
@harrysarson
Copy link
Contributor Author

Updated the pull request to use latest node version 12.x.x.

@harrysarson
Copy link
Contributor Author

I think the CI failures are unrelated to this change as master has also gone red and the error log talks about files this PR does not touch.

@harrysarson
Copy link
Contributor Author

Have applied suggestions. Thanks @BanzaiMan

@BanzaiMan
Copy link
Contributor

Great! Planning a deployment early next week.

@BanzaiMan BanzaiMan merged commit f9dd13a into travis-ci:master Apr 7, 2020
@harrysarson harrysarson deleted the update-elm branch April 7, 2020 19:55
@harrysarson
Copy link
Contributor Author

Thanks @BanzaiMan!

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.

4 participants