AMD64
no language set
Git
yangzhaofeng/china-operator-ip:.travis.yml@7a3ea3a
dist: focal
addons:
  apt:
    packages:
      - bgpdump
      - build-essential
      - git
language: bash
cache:
  directories:
    - /home/travis/gopath/bin/
install:
  - export PATH=$PATH:$HOME/go/bin
  - ./dependency.sh
script:
  - travis_wait 60 ./generate.sh
  - ./stat.sh
deploy:
  provider: script
  script: ./upload.sh
  skip_cleanup: true
  on:
    branch: master
    condition: $TRAVIS_EVENT_TYPE == cron
Build Config
{
  "os": [
    "linux"
  ],
  "env": {
    "global": "RUBY=2.5.0"
  },
  "dist": "trusty",
  "cache": {
    "ccache": true
  },
  "matrix": {
    "include": [
      {
        "os": "osx",
        "cache": {
          "ccache": true,
          "directories": [
            "/usr/local/Cellar/python",
            "/usr/local/opt/python"
          ]
        },
        "install": [
          "unset -f pushd",
          "unset -f popd"
        ],
        "osx_image": "xcode10.2-rubies",
        "before_install": [
          "sw_vers"
        ]
      }
    ]
  },
  "script": [
    "unset JRUBY_OPTS",
    "test -f ~/.rvmrc && cat ~/.rvmrc || true",
    "./build.sh"
  ],
  "language": "c",
  "before_cache": [
    "echo rvm_auto_reload_flag=1 >> ~/.rvmrc"
  ],
  "after_failure": [
    "find $rvm_path/log/ -type f | xargs ls -t | head -n 1 | xargs cat"
  ],
  "notifications": {
    "email": {
      "enabled": false
    }
  }
}