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

Enable Travis CI #21

Merged
merged 3 commits into from
Feb 3, 2020
Merged

Enable Travis CI #21

merged 3 commits into from
Feb 3, 2020

Conversation

nalimilan
Copy link
Member

No description provided.

script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# Needed to take precedence on Julia's version of Statistics
- julia -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"))'
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes I took it from there.

@@ -0,0 +1,60 @@
language: julia

os:
Copy link
Member

Choose a reason for hiding this comment

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

We should be able to structure this as

os:
  - linux
  - osx
  - windows
arch:
  - amd64
  - i386
  - arm64
jobs:
  exclude:
    - os: osx
      arch: i386
    - os: osx
      arch: arm64
    - os: windows
      arch: arm64
  include:
    - stage: "Documentation"
      ...

Copy link
Member

Choose a reason for hiding this comment

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

This will give us x86-64, i686, and AArch64 builds for Linux, x86-64 for macOS, and x86-64 and i686 for Windows. This kind of build matrix structure didn't used to be possible but it is now.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, great. Though that doesn't seem to give i686 Windows: https://travis-ci.com/JuliaLang/Statistics.jl/builds/147088090

Would you mind updating your post at https://discourse.julialang.org/t/julia-is-now-available-on-travis-windows-builds/27187? I had just copied the information I could find there.

Copy link
Member

Choose a reason for hiding this comment

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

Hm. There might still be something weird with Travis' config validator (since i386 isn't an official thing, it's a Julia-specific extension), or the Julia script for Travis might not correctly handle i386 instead of x86.

I'll be out for a couple of weeks but I'll try to remember to update the post when I get back.

@nalimilan nalimilan merged commit 81cc540 into master Feb 3, 2020
@nalimilan nalimilan deleted the nl/ci branch February 3, 2020 17:17
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.

3 participants