|
| 1 | +language: julia |
| 2 | +os: |
| 3 | + - linux |
| 4 | +julia: |
| 5 | + - 1.0 |
| 6 | +notifications: |
| 7 | + email: false |
| 8 | +git: |
| 9 | + depth: 99999999 |
| 10 | +cache: |
| 11 | + timeout: 1000 |
| 12 | + directories: |
| 13 | + - downloads |
| 14 | +env: |
| 15 | + global: |
| 16 | + - BINARYBUILDER_DOWNLOADS_CACHE=downloads |
| 17 | + - BINARYBUILDER_AUTOMATIC_APPLE=true |
| 18 | + # Our build takes too long for one job, so split targets across multiple jobs |
| 19 | + # triplets come from using BinaryBuilder; triplet.(supported_platforms()) |
| 20 | + matrix: |
| 21 | + - TARGET=i686-linux-gnu |
| 22 | + - TARGET=x86_64-linux-gnu |
| 23 | + - TARGET=aarch64-linux-gnu |
| 24 | + - TARGET=arm-linux-gnueabihf |
| 25 | + - TARGET=powerpc64le-linux-gnu |
| 26 | + - TARGET=i686-linux-musl |
| 27 | + - TARGET=x86_64-linux-musl |
| 28 | + - TARGET=aarch64-linux-musl |
| 29 | + - TARGET=arm-linux-musleabihf |
| 30 | + - TARGET=x86_64-unknown-freebsd11.1 |
| 31 | +sudo: required |
| 32 | + |
| 33 | +jobs: |
| 34 | + include: |
| 35 | + - stage: regenerate build.jl |
| 36 | + script: julia --color=yes build_tarballs.jl --only-buildjl |
| 37 | + if: tag IS present |
| 38 | + |
| 39 | +# Before anything else, get the latest versions of things |
| 40 | +before_script: |
| 41 | + - julia --color=yes -e 'using Pkg; |
| 42 | + Pkg.add(PackageSpec(name="BinaryProvider", rev="master")); |
| 43 | + Pkg.add(PackageSpec(name="BinaryBuilder", rev="master"))' |
| 44 | + |
| 45 | +script: |
| 46 | + - julia --color=yes build_tarballs.jl $TARGET |
| 47 | + |
| 48 | +deploy: |
| 49 | + provider: releases |
| 50 | + api_key: |
| 51 | + # Note; this api_key is only valid for MaximeBouton/LibSpatialIndexBuilder; you need |
| 52 | + # to make your own: https://docs.travis-ci.com/user/deployment/releases/ |
| 53 | + #secure: |
| 54 | + file_glob: true |
| 55 | + file: products/* |
| 56 | + skip_cleanup: true |
| 57 | + on: |
| 58 | + repo: MaximeBouton/LibSpatialIndexBuilder |
| 59 | + tags: true |
0 commit comments