Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
travis: work around Pkg.jl / JULIA_PROJECT weirdness ....
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz committed Jun 22, 2020
1 parent dcd6d55 commit cbc18e3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
os: linux
julia: 1.0
script:
- julia --project=revdeps -e 'using Pkg; Pkg.develop(PackageSpec(path=Base.pwd())); Pkg.build("LoadFlint");'
- julia --project=revdeps -e 'using Pkg; Pkg.add("Nemo"); Pkg.build("Nemo"); Pkg.test("Nemo");'
- export JULIA_PROJECT=revdeps
- julia -e 'using Pkg; Pkg.develop(PackageSpec(path=Base.pwd())); Pkg.build("LoadFlint");'
- julia -e 'using Pkg; Pkg.add("Nemo"); Pkg.build("Nemo"); Pkg.test("Nemo");'
- <<: *test-revdeps-short
os: osx
julia: 1.0
Expand All @@ -45,10 +46,13 @@ jobs:
os: linux
julia: 1.4
script:
- julia --project=revdeps -e 'using Pkg; Pkg.develop(PackageSpec(path=Base.pwd())); Pkg.build("LoadFlint");'
- julia --project=revdeps -e 'using Pkg; Pkg.add("Nemo"); Pkg.build("Nemo"); Pkg.test("Nemo");'
- julia --project=revdeps -e 'using Pkg; Pkg.add("Polymake"); Pkg.build("Polymake"); Pkg.test("Polymake");'
- julia --project=revdeps -e 'using Polymake; c = polytope.cube(3); using Nemo; CC, s = Nemo.PolynomialRing(ComplexField(256), "s"); println(s);'
- export JULIA_PROJECT=revdeps
- julia -e 'using Pkg; Pkg.develop(PackageSpec(path=Base.pwd())); Pkg.build("LoadFlint");'
- julia -e 'using Pkg; Pkg.add("Nemo"); Pkg.build("Nemo");'
- julia -e 'using Pkg; Pkg.test("Nemo");'
- julia -e 'using Pkg; Pkg.add("Polymake"); Pkg.build("Polymake");'
- julia -e 'using Pkg; Pkg.test("Polymake");'
- julia -e 'using Polymake; c = polytope.cube(3); using Nemo; CC, s = Nemo.PolynomialRing(ComplexField(256), "s"); println(s);'
- <<: *test-revdeps-full
os: linux
julia: 1.3
Expand Down

0 comments on commit cbc18e3

Please sign in to comment.