forked from Azure/BatchExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (53 loc) · 1.2 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
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:
- 10.8.0
python:
- "3.6"
matrix:
include:
- 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:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
- npm install -g codecov
- npm install -g npm
- npm ci
- python3 --version
- pip3 install -r python/requirements.txt
script:
- ./scripts/travis/build-and-test.sh
- pylint python/main.py
branches:
only:
- master
- stable
cache:
# yarn: true
# directories:
# - node_modules
# - $HOME/.cache/electron
# - $HOME/.cache/electron-builder