forked from PlasmaEngine/PlasmaEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (64 loc) · 1.87 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
cache:
directories:
- $TRAVIS_BUILD_DIR/Build/Cache
git:
depth: false
jobs:
include:
- name: Linux
os: linux
env:
- CACHE_NAME=Linux
sudo: required
language: node_js
node_js:
- 13
before_install:
- sudo apt-get update
- sudo apt-get install libgl1-mesa-dev
- sudo apt-get install mesa-common-dev
- sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev git
script:
- node index.js all --alias=Linux
- name: MacOS
os: osx
env:
- CACHE_NAME=MacOS
language: node_js
node_js:
- 13
before_install:
- brew update
- brew install openssl
- export OPENSSL_ROOT_DIR=/usr/local/opt/openssl
- export OPENSSL_LIBRARIES=/usr/local/opt/openssl/lib
script:
- node index.js all --alias=MacOS
- name: Windows
os: windows
env:
- CACHE_NAME=Windows
language: node_js
node_js:
- 13
install:
- git submodule init
- git submodule update
- npm install
- choco install doxygen.install
- choco install llvm --version=6.0.1 --allow-downgrade
- choco install ninja
- choco install visualstudio2019community
- choco install visualstudio2019-workload-nativedesktop
- export VS160COMNTOOLS="/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools"
- df -h
- rm -rf "C:\ProgramData\docker\windowsfilter" 2> /dev/null || true
- rm -rf "C:\ProgramData\Package Cache" 2> /dev/null || true
- rm -rf "C:\ProgramData\chocolatey\lib\mingw" 2> /dev/null || true
- rm -rf "C:\Program Files (x86)\Android" 2> /dev/null || true
- rm -rf "C:\Windows\SoftwareDistribution\Download" 2> /dev/null || true
- rm -rf "C:\Recovery" 2> /dev/null || true
- rm -rf "C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages" 2> /dev/null || true
- df -h
script:
- node index.js all --alias=Windows