Skip to content

Commit c42a22f

Browse files
committed
adjust opam and Travis for Coq 8.11
1 parent 09eb98d commit c42a22f

6 files changed

Lines changed: 23 additions & 19 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ Thumbs.db
2525
*.thr_debug_o
2626
*.o
2727
*.vo
28+
*.vio
29+
*.vos
30+
*.vok
2831
*.a
2932
*.o.cmd
3033
*.depend*
@@ -84,4 +87,5 @@ _build
8487
*.d.byte
8588
*.native
8689
Makefile.coq.conf
90+
.Makefile.coq.d
8791
.coqdeps.d

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ opam: &OPAM
55
install: |
66
# Prepare the COQ container
77
docker pull ${COQ_IMAGE}
8-
docker run -d -i --init --name=COQ -v ${TRAVIS_BUILD_DIR}:/home/coq/${CONTRIB_NAME} -w /home/coq/${CONTRIB_NAME} ${COQ_IMAGE}
8+
docker run -d -i --init --name=COQ -v ${TRAVIS_BUILD_DIR}:/home/coq/${PACKAGE} -w /home/coq/${PACKAGE} ${COQ_IMAGE}
99
docker exec COQ /bin/bash --login -c "
1010
# This bash script is double-quoted to interpolate Travis CI env vars:
1111
echo \"Build triggered by ${TRAVIS_EVENT_TYPE}\"
1212
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
1313
set -ex # -e = exit on failure; -x = trace for debug
1414
opam update -y
15-
opam pin add ${CONTRIB_NAME} . -y -n -k path
16-
opam install ${CONTRIB_NAME} -y -j ${NJOBS} --deps-only
15+
opam pin add ${PACKAGE} . -y -n -k path
16+
opam install ${PACKAGE} -y -j ${NJOBS} --deps-only
1717
opam config list
1818
opam repo list
1919
opam list
2020
"
2121
script:
22-
- echo -e "${ANSI_YELLOW}Building ${CONTRIB_NAME}...${ANSI_RESET}" && echo -en 'travis_fold:start:script\\r'
22+
- echo -e "${ANSI_YELLOW}Building ${PACKAGE}...${ANSI_RESET}" && echo -en 'travis_fold:start:script\\r'
2323
- |
2424
docker exec COQ /bin/bash --login -c "
2525
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
2626
set -ex
27-
sudo chown -R coq:coq /home/coq/${CONTRIB_NAME}
28-
opam install ${CONTRIB_NAME} -v -y -j ${NJOBS}
27+
sudo chown -R coq:coq /home/coq/${PACKAGE}
28+
opam install ${PACKAGE} -v -y -j ${NJOBS}
2929
"
3030
- docker stop COQ # optional
3131
- echo -en 'travis_fold:end:script\\r'
@@ -35,17 +35,17 @@ matrix:
3535

3636
# Test supported versions of Coq via OPAM
3737
- env:
38-
- COQ_IMAGE=coqorg/coq:8.9
39-
- CONTRIB_NAME=coq-disel
38+
- COQ_IMAGE=coqorg/coq:8.10
39+
- PACKAGE=coq-disel
4040
- NJOBS=2
4141
<<: *OPAM
4242
- env:
43-
- COQ_IMAGE=coqorg/coq:8.10
44-
- CONTRIB_NAME=coq-disel
43+
- COQ_IMAGE=coqorg/coq:8.11
44+
- PACKAGE=coq-disel
4545
- NJOBS=2
4646
<<: *OPAM
4747
- env:
4848
- COQ_IMAGE=coqorg/coq:dev
49-
- CONTRIB_NAME=coq-disel
49+
- PACKAGE=coq-disel
5050
- NJOBS=2
5151
<<: *OPAM

coq-disel-calculator.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ synopsis: "Calculator implemented in Disel, a separation-style logic for composi
1010
build: [make "-j%{jobs}%" "calculator"]
1111
depends: [
1212
"ocaml" {>= "4.05.0"}
13-
"coq" {(>= "8.7" & < "8.11~") | (= "dev")}
14-
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.10~") | (= "dev")}
13+
"coq" {(>= "8.7" & < "8.12~") | (= "dev")}
14+
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.11~") | (= "dev")}
1515
"coq-fcsl-pcm"
1616
"ocamlbuild" {build}
1717
]

coq-disel-examples.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ build: [make "-j%{jobs}%" "-C" "Examples"]
1111
install: [make "-C" "Examples" "install"]
1212
depends: [
1313
"ocaml"
14-
"coq" {(>= "8.7" & < "8.11~") | (= "dev")}
15-
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.10~") | (= "dev")}
14+
"coq" {(>= "8.7" & < "8.12~") | (= "dev")}
15+
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.11~") | (= "dev")}
1616
"coq-fcsl-pcm"
1717
"coq-disel" {= version}
1818
]

coq-disel-tpc.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ synopsis: "Two-phase commit implemented in Disel, a separation-style logic for c
1010
build: [make "-j%{jobs}%" "tpc"]
1111
depends: [
1212
"ocaml" {>= "4.05.0"}
13-
"coq" {(>= "8.7" & < "8.11~") | (= "dev")}
14-
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.10~") | (= "dev")}
13+
"coq" {(>= "8.7" & < "8.12~") | (= "dev")}
14+
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.11~") | (= "dev")}
1515
"coq-fcsl-pcm"
1616
"ocamlbuild" {build}
1717
]

coq-disel.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ build: [make "-j%{jobs}%" "-C" "Core"]
2020
install: [make "-C" "Core" "install"]
2121
depends: [
2222
"ocaml"
23-
"coq" {(>= "8.7" & < "8.11~") | (= "dev")}
24-
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.10~") | (= "dev")}
23+
"coq" {(>= "8.7" & < "8.12~") | (= "dev")}
24+
"coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.11~") | (= "dev")}
2525
"coq-fcsl-pcm"
2626
]
2727

0 commit comments

Comments
 (0)