AMD64
no language set
Git
language: ruby
arch: arm64
dist: xenial

before_script:
- "gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB"
- "curl -sSL https://get.rvm.io | bash -s stable"

script:
- source /home/travis/.rvm/scripts/rvm
- unset JRUBY_OPTS
- test -f ~/.rvmrc && cat ~/.rvmrc || true
- ./build.sh

cache: ccache

jobs:
  include:
  # - os: freebsd
  #   dist: freebsd
  #   before_install:
  #     - freebsd-version
  #   name: FreeBSD
  # - os: linux
  #   sudo: required
  #   dist: precise
  #   name: precise
  #   group: edge
  #   before_script: "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
  # - os: linux
  #   dist: trusty
  #   name: trusty
  #   before_script:
  #     - 'echo -e "gem-wrappers\nrubygems-bundler\nbundler\nrake\nrvm\n" >> ~/.rvm/gemsets/global.gems'
  #     - "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
  #     - "sudo apt-get install haveged"
  #     - "sudo service haveged start"
  #   services: docker
  # - os: linux
  #   dist: xenial
  #   name: xenial
  #   language: generic
  #   before_install:
  #     - |
  #        sudo systemctl stop apt-daily.service &&
  #        sudo systemctl kill --kill-who=all apt-daily.service &&
  #        while ! (systemctl list-units --all apt-daily.service | fgrep -q dead) ; do
  #          sleep 1
  #        done
  #   before_script:
  #     - 'echo -e "gem-wrappers\nrubygems-bundler\nbundler\nrake\nrvm\n" >> ~/.rvm/gemsets/global.gems'
  #     - "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
  #     - "sudo apt-get install haveged"
  #     - "sudo service haveged start"
  # - os: linux
  #   dist: bionic
  #   name: bionic
  #   language: minimal
  #   group: dev
  #   before_install:
  #     - |
  #        sudo systemctl stop apt-daily.service &&
  #        sudo systemctl kill --kill-who=all apt-daily.service &&
  #        while ! (systemctl list-units --all apt-daily.service | fgrep -q dead) ; do
  #          sleep 1
  #        done
  #   before_script:
  #     - 'echo -e "gem-wrappers\nrubygems-bundler\nbundler\nrake\nrvm\n" >> ~/.rvm/gemsets/global.gems'
  #     - "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
  #     - "sudo apt-get install haveged"
  #     - "sudo service haveged start"
  # - os: osx
  #   before_install:
  #     - sw_vers
  #     - unset -f cd
  #   install:
  #     - unset -f pushd
  #     - unset -f popd
  #   osx_image: xcode6.4
  #   name: '10.10'
  #   cache: &osx_cache
  #     ccache: true
  #     directories:
  #       - /usr/local/Cellar/python
  #       - /usr/local/opt/python
  # - os: osx
  #   before_install:
  #     - sw_vers
  #     - unset -f cd
  #   install:
  #     - unset -f pushd
  #     - unset -f popd
  #   osx_image: xcode7.3 # macOS 10.11
  #   name: '10.11'
  #   cache: *osx_cache
  # - os: osx
  #   before_install:
  #     - sw_vers
  #     - unset -f cd
  #   install:
  #     - unset -f pushd
  #     - unset -f popd
  #   osx_image: xcode8.3 # macOS 10.12
  #   name: '10.12'
  #   cache: *osx_cache
  # - os: osx
  #   before_install:
  #     - sw_vers
  #   osx_image: xcode9.4 # macOS 10.13
  #   name: '10.13'
  #   cache: *osx_cache
  # - os: osx
  #   before_install:
  #     - sw_vers
  #   osx_image: xcode10.2 # macOS 10.14
  #   name: '10.14'
  #   cache: *osx_cache
  - arch: arm64
    dist: xenial
    language: bash
    name: bionic-arm64
    before_script:
      - "gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB"
      - "curl -sSL https://get.rvm.io | bash -s stable"

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: false
Build Config
{
  "os": [
    "linux"
  ],
  "arch": [
    "arm64"
  ],
  "dist": "xenial",
  "jobs": {
    "include": [
      {
        "arch": "arm64",
        "dist": "xenial",
        "name": "bionic-arm64",
        "language": "shell",
        "before_script": [
          "gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB",
          "curl -sSL https://get.rvm.io | bash -s stable"
        ]
      }
    ]
  },
  "cache": {
    "ccache": true
  },
  "script": [
    "source /home/travis/.rvm/scripts/rvm",
    "unset JRUBY_OPTS",
    "test -f ~/.rvmrc && cat ~/.rvmrc || true",
    "./build.sh"
  ],
  "language": "ruby",
  "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"
  ],
  "before_script": [
    "gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB",
    "curl -sSL https://get.rvm.io | bash -s stable"
  ],
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  }
}