forked from cs01/gdbgui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (39 loc) · 965 Bytes
/
.travis.yml
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
# https://docs.travis-ci.com/user/multi-os/
os:
- linux
# no osx for now (travis build server doesn't work build it)
# - osx
cache:
pip: true
yarn: true
directories:
- node_modules
language: python
sudo: required
matrix:
allow_failures:
- os: osx
include:
- python: '3.6'
env: NOXSESSION="tests-3.6"
- python: '3.7'
env: NOXSESSION="tests-3.7"
dist: xenial
- python: '3.7'
env: NOXSESSION="lint"
dist: xenial
- python: '3.7'
env: NOXSESSION="docs"
dist: xenial
- python: '3.8-dev'
env: NOXSESSION="tests-3.8"
dist: xenial
install:
# commands for linux
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gdb ; fi
# commands for osx
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/dupes/gdb; fi
- pip install nox
script:
- nox --non-interactive --session "$NOXSESSION"