File: .travis.yml

package info (click to toggle)
plinth 0.13.1+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,240 kB
  • ctags: 1,759
  • sloc: python: 11,014; xml: 7,909; sh: 630; makefile: 36
file content (34 lines) | stat: -rw-r--r-- 726 bytes parent folder | download
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
# Travis-CI configuration file for Plinth

dist: trusty
sudo: required
language: generic

env:
  - DJANGO_VERSION=">=1.10.0"

# Debian packages required
before_install:
  - sudo apt-get update -qq
  - sudo apt-get -y install augeas-tools python3-dev python3-gi

# Command to install dependencies
install:
  - virtualenv --python=python3 --system-site-packages _venv
  - source _venv/bin/activate
  - pip install Django$DJANGO_VERSION
  - pip install coverage==3.7
  - pip install -r requirements.txt

# Command to run tests
script: python3 setup.py test

notifications:
  email:
    on_success: change
    on_failure: always
  irc:
    channels:
      - "irc.oftc.net#freedombox"
    on_success: always
    on_failure: always