-
Notifications
You must be signed in to change notification settings - Fork 272
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
add multiple ubuntu and osx build images #1617
Conversation
Geez. The cached
So before it can be merged, we need to see it build successfully when using the cache, if we're going to use caching. |
before_cache: | ||
# this was getting corrupted in the cache for osx ?? | ||
- rm -rf /Users/travis/.stack/setup-exe-cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a support issue open with Travis for this.
And, I'd like to know if any other cache entries are getting corrupted, but I'm out of steam to:
- delete the cache
- construct the magic web request to launch a debug container
- tmate in and manually run the build with no cache (half an hour)
- figure out how to find + xargs + sha1sum
- run regular build to populate cache (another half an hour)
- run a debug build, tmate in, and re-sha1 the tree
- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | ||
- travis_retry curl -sSL https://get.haskellstack.org/ | sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slurped up into this PR by accident.
@@ -1,22 +1,34 @@ | |||
# https://docs.haskellstack.org/en/stable/travis_ci/ | |||
# run on containerized infrastructure hopefully | |||
dist: trusty | |||
sudo: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dist: trusty
moves into the jobs:
matrix below
sudo: false
is deprecated/ignored
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't investigate the CI failure but LGTM otherwise.
Closes #1616.
This matrix provides builds for:
macOS 10.15.4, Xcode 11.6
macOS 10.14.6, Xcode 11.3.1
Ubuntu Bionic 18.04
Ubuntu Xenial 16.04
Ubuntu Trusty 14.04 (the one we'd been using so far)
This may be overboard, and I wouldn't object to removing some if requested. We can run 5 jobs in parallel on the Travis OSS plan (across all branches).