From 094b15fc50ab2d02054758f9e4a19922dc5b9525 Mon Sep 17 00:00:00 2001 From: SimonDanisch Date: Thu, 31 Jan 2019 11:21:08 +0100 Subject: [PATCH] fix travis + tarballs --- .travis.yml | 3 +-- build_tarballs.jl | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce25e02..5a2a387 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,7 @@ sudo: required # Before anything else, get the latest versions of things before_script: - - julia -e 'import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaPackaging/BinaryBuilder.jl", rev="master"))' - - julia -e 'import Pkg; Pkg.add("BinaryProvider")' + - julia -e 'using Pkg; pkg"add BinaryBuilder BinaryProvider"' script: - julia build_tarballs.jl diff --git a/build_tarballs.jl b/build_tarballs.jl index 9a8efc8..e3aed17 100644 --- a/build_tarballs.jl +++ b/build_tarballs.jl @@ -2,6 +2,8 @@ # `julia build_tarballs.jl --help` to see a usage message. using BinaryBuilder +version = v"3.2.1" + # Collection of sources required to build glfw sources = [ "https://github.com/glfw/glfw.git" => @@ -34,10 +36,7 @@ products(prefix) = [ ] # Dependencies that must be installed before this package can be built -dependencies = [ - -] +dependencies = [] # Build the tarballs, and possibly a `build.jl` as well. -build_tarballs(ARGS, "glfw", sources, script, platforms, products, dependencies) - +build_tarballs(ARGS, "glfw", version, sources, script, platforms, products, dependencies)