Sha256: 79267544d7720cb48249df31a942ee12104d53b85398f232f1f32d83007bb3f4

Contents?: true

Size: 1.4 KB

Versions: 3

Compression:

Stored size: 1.4 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.2.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" ] && [ "$TRAVIS_BRANCH" == "master" ] ]; then \
            docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" ;\
            docker push mozilla/ssh_scan:latest ;\
          else \
            exit 0 ;\
          fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ssh_scan-0.0.24 .travis.yml
ssh_scan-0.0.23 .travis.yml
ssh_scan-0.0.22 .travis.yml