8000 Reduce setting `MAKE` in .travis.yml. · lodash/lodash@c88b957 · GitHub
[go: up one dir, main page]

Skip to content

Commit c88b957

Browse files
committed
Reduce setting MAKE in .travis.yml.
1 parent 72ae25b commit c88b957

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ env:
99
matrix:
1010
- BUILD="compat"
1111
- BUILD="modern"
12-
- BUILD="legacy" MAKE=true
13-
- BUILD="mobile" MAKE=true
12+
- BUILD="legacy"
13+
- BUILD="mobile"
1414
- BIN="phantomjs" BUILD="compat"
15-
- BIN="phantomjs" BUILD="legacy" MAKE=true
16-
- BIN="phantomjs" BUILD="mobile" MAKE=true
15+
- BIN="phantomjs" BUILD="legacy"
16+
- BIN="phantomjs" BUILD="mobile"
1717
matrix:
1818
include:
1919
- node_js: "0.10"
2020
env: BIN="istanbul"
2121
- node_js: "0.10"
2222
env: BIN="narwhal" BUILD="compat"
2323
- node_js: "0.10"
24-
env: BIN="narwhal" BUILD="legacy" MAKE=true
24+
env: BIN="narwhal" BUILD="legacy"
2525
- node_js: "0.10"
2626
env: BIN="rhino" BUILD="compat"
2727
- node_js: "0.10"
28-
env: BIN="rhino" BUILD="legacy" MAKE=true
28+
env: BIN="rhino" BUILD="legacy"
2929
- node_js: "0.10"
3030
env: BIN="rhino" BUILD="compat" OPTION="-require"
3131
- node_js: "0.10"
32-
env: BIN="rhino" BUILD="legacy" MAKE=true OPTION="-require"
32+
env: BIN="rhino" BUILD="legacy" OPTION="-require"
3333
- node_js: "0.10"
3434
env: BIN="ringo" BUILD="compat"
3535
- node_js: "0.10"
36-
env: BIN="ringo" BUILD="legacy" MAKE=true
36+
env: BIN="ringo" BUILD="legacy"
3737
git:
3838
depth: 1
3939
branches:
@@ -49,6 +49,7 @@ before_install:
4949
- "[ $BIN == 'ringo' ] && sudo ln -s /opt/ringojs-0.9/bin/ringo /usr/local/bin/ringo && sudo chmod +x /usr/local/bin/ringo || true"
5050
script:
5151
- "[ $BIN == 'istanbul' ] && $BIN cover ./test/test.js || true"
52+
- "[ $BUILD != false ] && [ $BUILD != 'compat' ] && [ $BUILD != 'modern' ] && MAKE=true || true"
5253
- "[ $MAKE != false ] && git clone --depth=1 --branch=master git://github.com/lodash/lodash-cli.git ./node_modules/lodash-cli || true"
5354
- "[ $MAKE != false ] && mkdir ./node_modules/lodash-cli/node_modules && cd ./node_modules/lodash-cli/node_modules/ && ln -s ../../../ ./lodash && cd ../ && npm i . && cd ../../ || true"
5455
- "[ $MAKE != false ] && node ./node_modules/lodash-cli/bin/lodash $BUILD -o ./dist/lodash.$BUILD.js || true"

0 commit comments

Comments
 (0)
0