-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
# https://docs.haskellstack.org/en/stable/travis_ci/ | ||
# run on containerized infrastructure hopefully | ||
dist: trusty | ||
sudo: false | ||
jobs: | ||
include: | ||
- os: linux | ||
dist: xenial | ||
- os: linux | ||
dist: trusty | ||
- os: linux | ||
dist: bionic | ||
- os: osx | ||
osx_image: xcode11.6 | ||
- os: osx | ||
osx_image: xcode11.3 | ||
|
||
language: generic | ||
|
||
# Caching so the next build will be fast too. | ||
cache: | ||
directories: | ||
- $HOME/.stack | ||
|
||
before_cache: | ||
# Do any cleanup here to avoid caching junk. | ||
before_cache: | ||
# this was getting corrupted in the cache for osx ?? | ||
- rm -rf /Users/travis/.stack/setup-exe-cache | ||
Comment on lines
+23
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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:
|
||
|
||
before_install: | ||
# Download and unpack the stack executable | ||
- mkdir -p ~/.local/bin | ||
- export PATH=$HOME/.local/bin:$PATH | ||
- 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 | ||
Comment on lines
-19
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Slurped up into this PR by accident. |
||
|
||
install: | ||
- stack ghc -- --version | ||
|
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 thejobs:
matrix belowsudo: false
is deprecated/ignored