master Merge pull request #12 from travis-ci/mjm-cpu-usage

Push event #65.1 passed

  • Ran for
AMD64
no language set
Git
.travis.yml
language: go
go: 1.8
sudo: false
install:
- make prereqs
- make deps
script:
- make test
- make copyright
- git diff --exit-code
- git diff --cached --exit-code
- make crossbuild

after_success:
- bash <(curl -s https://codecov.io/bash)

env:
  global:
  - 'TRAVIS_COMMIT_SHORT="${TRAVIS_COMMIT:0:7}"'

addons:
  artifacts:
    paths:
    - "./build/linux/amd64/vsphere-janitor"
    - "./build/darwin/amd64/vsphere-janitor"
    target_paths:
    - travis-ci/vsphere-janitor/$TRAVIS_BRANCH
    - travis-ci/vsphere-janitor/$TRAVIS_COMMIT
    - travis-ci/vsphere-janitor/$TRAVIS_COMMIT_SHORT
Build Config
{
  "go": [
    "1.8"
  ],
  "os": [
    "linux"
  ],
  "env": {
    "global": [
      "TRAVIS_COMMIT_SHORT=\"${TRAVIS_COMMIT:0:7}\""
    ]
  },
  "dist": "trusty",
  "sudo": false,
  "addons": {
    "artifacts": {
      "paths": [
        "./build/linux/amd64/vsphere-janitor",
        "./build/darwin/amd64/vsphere-janitor"
      ],
      "enabled": true,
      "target_paths": [
        "travis-ci/vsphere-janitor/$TRAVIS_BRANCH",
        "travis-ci/vsphere-janitor/$TRAVIS_COMMIT",
        "travis-ci/vsphere-janitor/$TRAVIS_COMMIT_SHORT"
      ]
    }
  },
  "script": [
    "make test",
    "make copyright",
    "git diff --exit-code",
    "git diff --cached --exit-code",
    "make crossbuild"
  ],
  "install": [
    "make prereqs",
    "make deps"
  ],
  "language": "go",
  "after_success": [
    "bash <(curl -s https://codecov.io/bash)"
  ]
}