travis.sh 256 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. set -e
  3. readonly thisDir=$(cd $(dirname $0); pwd)
  4. cd ${thisDir}
  5. if [[ "${MODE}" ]]; then
  6. echo ""
  7. echo "Running mode: ${MODE}"
  8. echo ""
  9. npm run ${MODE}
  10. elif [[ "${DEPLOY_MODE}" ]]; then
  11. ./deploy.sh -gh -dr
  12. fi