Skip to content

Commit 8643bcf

Browse files
committed
Use --reject for nimble install ntangle
1 parent 9338fd0 commit 8643bcf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ script:
6868
# Compile the static binary using musl.
6969
# --accept to say Yes to prompts like "Prompt: No local packages.json found, download it from internet? [y/N]"
7070
- nimble install --depsOnly --accept
71-
# Test installing ntangle using nimble
72-
- nimble install --accept ntangle
71+
# Test installing ntangle using nimble.
72+
# --reject denies the offer to install from ntangle@#head if "nimble install ntangle" fails.
73+
- nimble install --reject ntangle
74+
# Now build using musl.
7375
- git clone https://github.com/kaushalmodi/nim_config && cp nim_config/config.nims . # Get my global config.nims
7476
- nim musl "${NIMFILE}"
7577
# Verify the built binary version.

0 commit comments

Comments
 (0)