Skip to content

Commit bc358c2

Browse files
authored
Merge pull request #6 from coq-io/fix-parallel-builds
Set the number of parallel buils with the opam variable
2 parents 148e0c3 + b0eb3bf commit bc358c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ services:
77

88
env:
99
global:
10-
- NJOBS="2"
11-
- CONTRIB_NAME="demo"
10+
- OPAMJOBS="2"
1211
matrix:
1312
- COQ_IMAGE="coqorg/coq:8.5"
1413
- COQ_IMAGE="coqorg/coq:8.6"
@@ -27,21 +26,22 @@ install: |
2726
set -ex # -e = exit on failure; -x = trace for debug
2827
if [ -n \"\${COMPILER_EDGE}\" ]; then opam switch \${COMPILER_EDGE}; eval \$(opam env); fi
2928
opam update -y
30-
opam pin add coq-io.opam . --kind=path -y
29+
opam pin add coq-io.opam . --kind=path -y --no-action
3130
opam install coq-io --deps-only
3231
opam config list
3332
opam repo list
33+
opam pin list
3434
opam list
3535
" install
3636
3737
script:
38-
- echo -e "${ANSI_YELLOW}Building ${CONTRIB_NAME}...${ANSI_RESET}" && echo -en 'travis_fold:start:script\\r'
38+
- echo -e "${ANSI_YELLOW}Building...${ANSI_RESET}" && echo -en 'travis_fold:start:script\\r'
3939
- |
4040
docker exec COQ /bin/bash --login -c "
4141
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
4242
set -ex
4343
sudo chown -R coq:coq /home/project
44-
opam install coq-io
44+
opam install coq-io -v
4545
" script
4646
- docker stop COQ # optional
4747
- echo -en 'travis_fold:end:script\\r'

0 commit comments

Comments
 (0)