File: .travis.yml

package info (click to toggle)
voltron 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 516 kB
  • ctags: 957
  • sloc: python: 5,082; ansic: 49; makefile: 6
file content (42 lines) | stat: -rw-r--r-- 1,183 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
35
36
37
38
39
40
41
42
language: python

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      python: "3.3"
    - os: linux
      sudo: required
      dist: trusty
      python: "3.4"
    - os: linux
      sudo: required
      dist: trusty
      python: "3.5"
    - os: osx
      osx_image: xcode7.2
      language: generic

addons:
  apt:
    packages:
      - build-essential
      - gdb

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; brew install python ; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; sudo apt-get install lldb-3.4 ; fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install mock pexpect nose ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install mock pexpect nose  --user; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install . ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install . --user; fi

script:
  - python --version
  - mkdir ~/.voltron
  - echo '{"general":{"debug_logging":true}}' >~/.voltron/config
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python -m nose -sv tests/gdb_cli_tests.py ; fi
  - python -m nose -sv tests/lldb_cli_tests.py