master Merge pull request #35 from travis-ci/meat-deps-updates

Push event #197.1 passed

  • Ran for
AMD64
no language set
Git
torognes/swarm:.travis.yml@17ddd92
language: c++

os: linux

dist: bionic

compiler: gcc

before_install:
- sudo apt-get install -y valgrind

script:
- make COVERAGE=1
- export PATH=$PWD/bin:$PATH
- git clone https://github.com/frederic-mahe/swarm-tests.git
- cd swarm-tests && bash ./run_all_tests.sh | tee tests.log && ! grep -q FAIL tests.log
- cd ../src && gcov *.cc

after_success:
- cd .. && bash <(curl -s https://codecov.io/bash)
Build Config
{
  "go": "1.7.4",
  "env": {
    "global": [
      "TRAVIS_COMMIT_SHORT=\"$(echo ${TRAVIS_COMMIT} | cut -b1-7)\"",
      "TRAVIS_COMMIT_LESSSHORT=\"$(echo ${TRAVIS_COMMIT} | cut -b1-9)\"",
      "PATH=\"${HOME}/gopath/bin:${PATH}\""
    ]
  },
  "cache": {
    "directories": [
      "${HOME}/gopath/bin"
    ]
  },
  "addons": {
    "artifacts": {
      "paths": [
        "./build/linux/amd64/cyclist",
        "./build/darwin/amd64/cyclist",
        "./build.tar.gz"
      ],
      "target_paths": [
        "travis-ci/cyclist/$TRAVIS_BRANCH",
        "travis-ci/cyclist/$TRAVIS_COMMIT",
        "travis-ci/cyclist/$TRAVIS_COMMIT_SHORT",
        "travis-ci/cyclist/$TRAVIS_COMMIT_LESSSHORT"
      ]
    }
  },
  "script": [
    "make",
    "build/linux/amd64/cyclist --help",
    "build/linux/amd64/cyclist serve --help",
    "grep -q web Procfile",
    "grep -q worker Procfile"
  ],
  "language": "go",
  "after_success": [
    "bash <(curl -s https://codecov.io/bash)",
    "tar -czvf build.tar.gz build Procfile Makefile"
  ]
}