AMD64
Node.js: 10
Git
CelestialSystem/lattice:.travis.yml@0c494dc
language: node_js
node_js:
  - "10"
cache:
  yarn: true
  directories:
    - "node_modules"
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s
  - export PATH="$HOME/.yarn/bin:$PATH"
before_script:
  - yarn run lerna run prepublish
script:
  - yarn test
before_deploy:
  - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
  provider: script
  script: "yarn run lerna:publish"
  skip_cleanup: true
  on:
    node: "8"
    tags: true
Build Config
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "node_js": [
    "10"
  ],
  "cache": {
    "yarn": true,
    "directories": [
      "node_modules"
    ]
  },
  "before_install": [
    "curl -o- -L https://yarnpkg.com/install.sh | bash -s",
    "export PATH=\"$HOME/.yarn/bin:$PATH\""
  ],
  "before_script": [
    "yarn run lerna run prepublish"
  ],
  "script": [
    "yarn test"
  ],
  "before_deploy": [
    "echo \"//registry.npmjs.org/:_authToken=\\${NPM_TOKEN}\" >> $HOME/.npmrc 2> /dev/null"
  ],
  "deploy": [
    {
      "provider": "script",
      "script": "yarn run lerna:publish",
      "skip_cleanup": true,
      "on": {
        "tags": true,
        "node_js": "8"
      }
    }
  ]
}