Skip to content

Commit

Permalink
Merge pull request #43 from coq/fix-nix-travis
Browse files Browse the repository at this point in the history
Fix Nix build on Travis CI (backport for v8.12)
  • Loading branch information
vbgl authored Jun 20, 2020
2 parents 3483ebc + 1721bfb commit 0bab136
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
opam: &OPAM
language: minimal
sudo: required
os: linux
dist: bionic
language: shell

.opam: &OPAM
services: docker
install: |
# Prepare the COQ container
Expand Down Expand Up @@ -38,12 +40,13 @@ opam: &OPAM
- docker stop COQ # optional
- echo -en 'travis_fold:end:script\\r'

nix: &NIX
.nix: &NIX
language: nix
nix: 2.3.5
script:
- nix-build --argstr coq-url "$COQ" --extra-substituters https://coq.cachix.org --trusted-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= coq.cachix.org-1:5QW/wwEnD+l2jvN6QRbRRsa4hBHG3QiQQ26cxu1F5tI="

matrix:
jobs:
include:

# Test supported versions of Coq via Nix
Expand All @@ -58,3 +61,8 @@ matrix:
- NJOBS=2
<<: *OPAM

- env:
- COQ_IMAGE=coqorg/coq:8.12
- CONTRIB_NAME=coq-bignums
- NJOBS=2
<<: *OPAM

0 comments on commit 0bab136

Please sign in to comment.