aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 1c053fbf2a0e49b764a3f57231fd205ebacb3f05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: python
python:
  - "3.6"

branches:
  only:
    - "master"

dist: xenial
sudo: required

services:
  - rabbitmq
  #- docker

before_install:
  - sudo apt-get update
  - sudo apt-get install -y libprotobuf-dev libstdc++6

env:
  global:
    - PIPENV_VENV_IN_PROJECT=1
    - PIPENV_IGNORE_VIRTUALENVS=1
    - PIPENV_NOSPIN=1
    - PIPENV_HIDE_EMOJIS=1
    - RABBITMQ_HOST=localhost

install:
  - pip install pipenv
  - pipenv sync --dev --three
script:
  - chmod +x scripts/ci.sh
  - bash scripts/ci.sh
  - pipenv run lint
  - pipenv run test
#after_success:
#  - bash scripts/deploy.sh

cache: pip

notifications:
  email: false