Sha256: a8a26bf47050bf028f70bbbf879281dd32060e39fa43691f82e886a6256a95d5

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

language: ruby
git:
  submodules: false
before_install:
  - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
  - git submodule update --init --recursive
matrix:
  include:
  - rvm: ruby-head
    env:
      - LABEL=unit_tests
    after_success:
      - coveralls
  - rvm: 2.4.1
    env:
      - LABEL=unit_tests
  - rvm: 2.3.0
    env:
      - LABEL=unit_tests
  - rvm: 2.3.0
    env:
      - LABEL=gem_integration_tests
    script:
      - gem install ssh_scan
      - chmod 755 ./spec/ssh_scan/integration.sh
      - ./spec/ssh_scan/integration.sh
  - rvm: 2.3.0
    env:
      - LABEL=src_integration_tests
    script:
      - bundle install
      - chmod 755 ./spec/ssh_scan/integration.sh
      - ./spec/ssh_scan/integration.sh
  - rvm: 2.3.0
    env:
      - LABEL=docker_integration_tests
    services:
      - docker
    script:
      - docker build -t mozilla/ssh_scan .
      - docker run -it mozilla/ssh_scan /app/spec/ssh_scan/integration.sh
  - rvm: 2.3.0
    env:
      - LABEL=docker_build_push
    services:
      - docker
    script:
      - docker build -t mozilla/ssh_scan .
      - >
          if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then \
            docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" ;\
            docker push mozilla/ssh_scan:latest ;\
          else \
            exit 0 ;\
          fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ssh_scan-0.0.29 .travis.yml
ssh_scan-0.0.28 .travis.yml