forked from Azure/BatchExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
71 lines (61 loc) · 1.25 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
language: node_js
dist: trusty
sudo: false
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
- graphicsmagick
- libreadline6
- xz-utils
- rpm
- bsdtar
node_js:
- '6.11.4'
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 install python3
- virtualenv env -p python3
- source env/bin/activate
- python3 --version
- nvm install 6.11.4
- nvm use 6.11.4
- language: node_js
os: linux
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:
- 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:
directories:
- node_modules