-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
46 lines (41 loc) · 929 Bytes
/
.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
branches:
except:
- rpi
language: generic
sudo: required
env: SWIFT_VERSION=5.2.4
matrix:
include:
- os: linux
dist: focal
- os: osx
osx_image: xcode11
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update && sudo apt-get install
binutils
git
gnupg2
libc6-dev
libcurl4
libedit2
libgcc-9-dev
libpython2.7
libsqlite3-0
libstdc++-9-dev
libxml2
libz3-dev
pkg-config
tzdata
zlib1g-dev;
git clone "https://github.com/warmcat/libwebsockets" || exit 3;
pushd libwebsockets || exit 5;
(cmake . && make && sudo make install) || exit 5;
sudo ldconfig;
popd;
else
brew install libwebsockets;
fi;
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift test