language: node_js
node_js:
  - "node"
before_script:
  - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter;
        chmod +x ./cc-test-reporter;
        ./cc-test-reporter before-build;
    fi
script:
  - "npm run test-ci"
after_script:
  - "cat ./build/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
  - if [ "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_TEST_RESULT == 0 ]; then
        ./cc-test-reporter format-coverage --input-type lcov "./build/coverage/lcov.info";
        ./cc-test-reporter upload-coverage;
    fi

language: node_js
node_js:
  - "node"
before_script:
  - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter;
        chmod +x ./cc-test-reporter;
        ./cc-test-reporter before-build;
    fi
script:
  - "npm run test-ci"
after_script:
  - "cat ./build/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
  - if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TEST_RESULT" == "0" ]; then
        ./cc-test-reporter format-coverage --input-type lcov "./build/coverage/lcov.info";
        ./cc-test-reporter upload-coverage;
    fi

Correct bash syntax for if statement
Correct bash syntax for if statement
