Julia is now available on Travis Windows builds

Apparently, matrix and jobs are simply aliases of each other. So to make the matrix / include thing work with additional build stages, you need to do something like:

language: julia

os:
  - osx
  - linux

julia:
  - 1.0
  - 1.1
  - nightly

jobs:
  include:
    # additional Windows 32/64-bit jobs
    - os: windows
      arch: x64
      julia: 1.0
    - os: windows
      arch: x86
      julia: 1.0
      name: "Julia 1 (32bit)"
    - os: windows
      arch: x64
      julia: 1.1
    - os: windows
      arch: x86
      julia: 1.1
      name: "Julia 1.1 (32bit)"
    # documentation build stage
    - stage: "Documentation"
      os: linux
      julia: 1.3
      script:
        - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
                                               Pkg.instantiate()'
        - julia --project=docs/ docs/make.jl
      after_success: skip

You can see a successful expansion here.

2 Likes