Skip to content

Commit 9d6b86e

Browse files
author
Hongbo Zhang
committed
[tweak] use specialized env, replace the shell with js file later
1 parent 9a1f5bd commit 9d6b86e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
if [ $TRAVIS_CI ]
4+
if [ $BS_TRAVIS_CI ]
55
then
66
git submodule update --init --recursive
77
fi
@@ -14,7 +14,7 @@ export OCAMLRUNPARAM=b
1414
# it can be minimal
1515
cd ocaml && ./configure -prefix $(dirname $(pwd)) -no-ocamldoc -no-ocamlbuild -no-shared-libs -no-curses -no-graph -no-pthread -no-debugger && make -j9 world.opt && make install && cd ..
1616

17-
if [ ! $TRAVIS_CI ]
17+
if [ ! $BS_TRAVIS_CI ]
1818
then
1919
cd ocaml && git clean -dfx && cd ..
2020
fi

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
env:
33
- OCAML=4.02.3
4-
- TRAVIS_CI=1
4+
- BS_TRAVIS_CI=1
55
node_js:
66
- "4.0"
77

0 commit comments

Comments
 (0)