Skip to content

use before_script to trigger Travis CI jobs #650

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

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented Sep 3, 2019

Previously the instruction was to use

before_install: export SCALA_VER_BASE=$SCALA_VER_BASE SCALA_VER_SUFFIX=$SCALA_VER_SUFFIX

to manually trigger Travis CI jobs.

However since scala/scala@8f7fdc4 we started using before_install phase to install AdoptOpenJDK so we can't hijack it to set the variables.

before_script is currently ununsed, so that's safe to use.

Previously the instruction was to use

```
before_install: export SCALA_VER_BASE=$SCALA_VER_BASE SCALA_VER_SUFFIX=$SCALA_VER_SUFFIX
```

to manually trigger Travis CI jobs.

However since scala/scala@8f7fdc4 we started using `before_install` phase to install AdoptOpenJDK so we can't hijack it to set the variables.

`before_script` is currently ununsed, so that's safe to use.
@eed3si9n eed3si9n requested a review from SethTisue September 3, 2019 18:25
@SethTisue SethTisue merged commit a8daf15 into scala:scala-dev Sep 3, 2019
@SethTisue
Copy link
Member

fyi @szeiger, I guess you'll hit this when you build 2.13.1. I've updated the 2.12.10 ticket accordingly

@eed3si9n eed3si9n deleted the wip/before_script branch September 3, 2019 19:36
@eed3si9n
Copy link
Member Author

eed3si9n commented Sep 3, 2019

I've already manually edited #645 for scala/scala (scala/scala-dist doesn't really matter for now).

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