Browse Source

Add bisheng build in travis test

pull/8292/head
afc163 7 years ago
parent
commit
7ef169dbdc
  1. 1
      .travis.yml
  2. 2
      scripts/travis-script.sh

1
.travis.yml

@ -19,6 +19,7 @@ matrix:
- env: REACT=15 TEST_TYPE=test:es - env: REACT=15 TEST_TYPE=test:es
- env: REACT=15 TEST_TYPE=test:dom - env: REACT=15 TEST_TYPE=test:dom
- env: REACT=15 TEST_TYPE=test:node - env: REACT=15 TEST_TYPE=test:node
- env: REACT=16 TEST_TYPE=bisheng:build
before_script: before_script:
- scripts/install-react.sh - scripts/install-react.sh

2
scripts/travis-script.sh

@ -37,6 +37,8 @@ elif [ "$TEST_TYPE" = test:dom ]; then
if [ "$REACT" = 16 ]; then if [ "$REACT" = 16 ]; then
bash <(curl -s https://codecov.io/bash) bash <(curl -s https://codecov.io/bash)
fi fi
elif [ "$TEST_TYPE" = bisheng:build ]; then
npm run site
elif [ "$TEST_TYPE" = test:node ]; then elif [ "$TEST_TYPE" = test:node ]; then
run_test_node run_test_node
fi fi

Loading…
Cancel
Save