Skip to content
Snippets Groups Projects
.travis.yml 488 B
Newer Older
  • Learn to ignore specific revisions
  • remi-filament's avatar
    remi-filament committed
    sudo: required
    
    language: python
    
    python:
      - "3.6"
    
    services:
      - docker
    
    git:
      depth: 1
    
    branches:
      only:
        - master
    
    env:
      global:
        # Variables found by default in Docker Hub builder
        - DOCKER_REPO=remifilament/odoo
      matrix:
        - DOCKER_TAG=10.0
    
    before_install:
      - sudo apt-get update
      - sudo apt-get -y -o Dpkg::Options::=--force-confnew install docker-ce
      - pip install -r requirements-ci.txt
    
    install:
      - chown -R $USER:$USER .
      - chmod -R +r .
      - ./hooks/build