Skip to content

Commit

Permalink
Merge pull request #6 from coq-io/without-the-ocaml-code
Browse files Browse the repository at this point in the history
Remove the ocaml/ folder
  • Loading branch information
clarus authored Jul 25, 2019
2 parents cd7a96a + 19a0c26 commit 96b2fc7
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 204 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ services:

env:
global:
- OPAMJOBS="2"
- PACKAGE_NAME="coq-io-system"
matrix:
- COQ_IMAGE="coqorg/coq:8.4"
- COQ_IMAGE="coqorg/coq:8.5"
- COQ_IMAGE="coqorg/coq:8.6"
- COQ_IMAGE="coqorg/coq:8.7"
Expand All @@ -24,11 +25,8 @@ install: |
echo \"Build triggered by ${TRAVIS_EVENT_TYPE}\"
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
set -ex # -e = exit on failure; -x = trace for debug
if [ -n \"\${COMPILER_EDGE}\" ]; then opam switch \${COMPILER_EDGE}; eval \$(opam env); fi
opam update -y
opam pin add coq-io-system.opam . --kind=path -y --no-action
opam pin add coq-io-system-ocaml.opam . --kind=path -y --no-action
opam install coq-io-system --deps-only -y --ignore-constraints-on=coq-io-system-ocaml
opam update
opam pin add ${PACKAGE_NAME}.opam . --kind=path --no-action
opam config list
opam repo list
opam pin list
Expand All @@ -42,7 +40,14 @@ script:
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
set -ex
sudo chown -R coq:coq /home/project
opam install coq-io-system -v --ignore-constraints-on=coq-io-system-ocaml
# Check if the package is compatible with the current environment
if opam install ${PACKAGE_NAME} --show-action; then
# First install the dependencies
opam install ${PACKAGE_NAME} --deps-only -y
opam list
# Then install the package itself in verbose mode
opam install ${PACKAGE_NAME} -v
fi;
" script
- docker stop COQ # optional
- echo -en 'travis_fold:end:script\\r'
25 changes: 0 additions & 25 deletions coq-io-system-ocaml.opam

This file was deleted.

2 changes: 1 addition & 1 deletion coq-io-system.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ depends: [
"coq-function-ninjas"
"coq-list-string" {>= "2.0.0"}
"coq-io" {>= "4.0.0"}
"coq-io-system-ocaml" {= "2.5.0"}
"coq-io-system-ocaml" {>= "2.3.0"}
]
tags: [
"keyword:effects"
Expand Down
1 change: 0 additions & 1 deletion ocaml/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions ocaml/META

This file was deleted.

11 changes: 0 additions & 11 deletions ocaml/Makefile

This file was deleted.

18 changes: 0 additions & 18 deletions ocaml/README.md

This file was deleted.

135 changes: 0 additions & 135 deletions ocaml/ioSystem.ml

This file was deleted.

1 change: 0 additions & 1 deletion ocaml/ioSystem.mllib

This file was deleted.

0 comments on commit 96b2fc7

Please sign in to comment.