Pull Request #30 Clean bootstrap.sh

Use $(..) instead of legacy `..`.
Use grep -q instead of comparing output with [ -n .. ].
Quote the rhs of != in [[ ]] to prevent glob matching.
Use semicolon or linefeed before 'do' (or quote to make it literal).
Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Argument mixes string and array. Use * or separate argument.

Robin Richtsfeld avatar Robin Richtsfeld

Pull request event #112 canceled

  • Ran for
  • Total time
  • New branch build
cgwire/kitsu:.travis.yml@63abed8
language: node_js
node_js:
    - "12"
env:
    global:
        - NODE_ENV=test
script:
    - npm install
    - npm run test:unit
branches:
    only:
        - master
    except:
        - build
addons:
    apt:
        packages:
            - libgif-dev
Build Config
{
  "matrix": {
    "include": [
      {
        "osx_image": "xcode8.3"
      },
      {
        "osx_image": "xcode8.2"
      },
      {
        "osx_image": "xcode8.1"
      },
      {
        "osx_image": "xcode7.3"
      }
    ]
  },
  "script": [
    "./bootstrap.sh",
    "ls -la /usr/local/travis/system_info.json",
    "cat /usr/local/travis/system_info.json"
  ],
  "language": "objective-c"
}