forked from cyberbotics/webots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
104 lines (104 loc) · 2.76 KB
/
.travis.yml
File metadata and controls
104 lines (104 loc) · 2.76 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
cache:
pip: true
directories:
- dependencies
jobs:
include:
- &tests_staging
stage: Tests
git:
depth: 3
submodules: false
os: linux
dist: xenial
language: python
python: '3.7'
addons:
apt:
packages:
- clang-format-5.0
install:
- pip install -r tests/sources/requirements.txt
- pip install -r docs/tests/requirements.txt
script:
- python -m unittest discover -s docs/tests
- travis_wait 30 python -m unittest discover -s tests/sources
- <<: *tests_staging
python: '2.7'
- <<: *tests_staging
os: osx
osx_image: xcode10.2 # Xcode: 10.2.1 | macOS: 10.14
language: generic # Travis doesn't support python on macos yet
addons:
homebrew:
packages:
- clang-format
- cppcheck
- python
- &compilation_staging
stage: Compilation
if: type = cron
git:
depth: 3
submodules: true
os: linux
dist: xenial
install: skip # bundle install is not required
language: python
python: 3.7
jdk: openjdk8
addons:
apt:
packages:
- g++
- cmake
- libusb-dev
- swig
- python2.7-dev
- libglu1-mesa-dev
- libglib2.0-dev
- libfreeimage-dev
- libfreetype6-dev
- libxml2-dev
- libzzip-0-13
- libssl-dev
- libboost-dev
- libjpeg8-dev
- libavcodec-extra
- libpci-dev
- libgd-dev
- libtiff5-dev
- libssh-dev
- libzip-dev
- python-pip
- libreadline-dev
- libassimp-dev
- libpng12-dev
- libav-tools
- python3.5-dev
- openjdk-8-jdk
- curl
- libwebpdemux1
- fakeroot
before_install:
- sudo add-apt-repository ppa:deadsnakes/ppa -y
- sudo apt update
- sudo apt install python3.6-dev python3.7-dev
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
- sudo apt install nodejs
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
script: travis_wait 45 python tests/test_compilation.py
- <<: *compilation_staging
os: osx
osx_image: xcode10.2 # Xcode: 10.2.1 | macOS: 10.14
language: generic # Travis doesn't support python on macos yet
addons:
homebrew:
packages:
- python
- cmake
- swig
- wget
- node
before_install:
- export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"