Sha256: eea1d68b1de25e01d5f9d0934a359a56fc315abfafd3a74ae0f4b3ed3eb9e7ec

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 KB

Contents

language: ruby
dist: bionic

# NB: if you update the ruby versions here, you also need to update
# them in the Rakefile.
rbenv:
- 2.6
- 2.7
- 3.0
- 3.1

addons:
  apt:
    packages:
      # https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
      - docker-ce

services:
- docker

before_install:
  - sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates -y && sudo update-ca-certificates
  # see https://blog.travis-ci.com/docker-rate-limits 
  # and also https://www.docker.com/blog/what-you-need-to-know-about-upcoming-docker-hub-rate-limiting/
  # if we do not use authorized account, 
  # the pulls-per-IP quota is shared with other Travis users
  - >
    if [ ! -z "$DOCKERHUB_PASSWORD" ] && [ ! -z "$DOCKERHUB_USERNAME" ]; then
      echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin  ;
    fi
  - |
    nvm install --lts \
      && nvm use --lts \
      && npm i -g yarn

jobs:
  include:
  - stage: test
    env:
      # GEM_ALTERNATIVE_NAME only needed for deployment 
      - GEM_ALTERNATIVE_NAME=''

before_deploy:
  - |
    npm i -g \
      semantic-release \
      @semantic-release/git \
      @semantic-release/changelog \
      semantic-release-rubygem

deploy:
  - provider: script
    script: ./release.sh
    on:
      branch: master
      condition: "$TRAVIS_RUBY_VERSION = 3.0"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appmap-0.77.3 .travis.yml
appmap-0.77.2 .travis.yml
appmap-0.77.1 .travis.yml