forked from Azure/BatchExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (69 loc) · 1.68 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language: node_js
dist: trusty
sudo: false
# addons:
# apt:
# packages:
# - libgnome-keyring-dev
# - openjpeg-tools # or libopenjp2-tools
# - graphicsmagick
# - libreadline6
# - xz-utils
# - rpm
# - bsdtar
node_js:
- 9.6.1
python:
- "3.6"
matrix:
fast_finish: true
allow_failures:
os: osx # This allows not to wait for the osx build to be scheduled
include:
- language: generic
os: osx
before_install:
- brew update
- brew upgrade python
- brew install python@2
- python --version
- python3 --version
- which python
- npm config set python python2.7
- nvm install 9.6.1
- nvm use 9.6.1
- language: node_js
os: linux
services: docker
before_install:
- pyenv versions
- pyenv install --list
- pyenv install 3.6.0
- pyenv global 3.6.0
- python --version
- python3 --version
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16; fi
- npm install -g codecov
- npm install -g yarn
- yarn install
- python3 --version
- pip3 install -r python/requirements.txt
script:
- ./scripts/travis/build-and-test.sh
- pylint python/main.py
branches:
only:
- master
- stable
- fix/publish
cache:
# yarn: true
# directories:
# - node_modules
# - $HOME/.cache/electron
# - $HOME/.cache/electron-builder