2019-05-14 01:51:58 +02:00
|
|
|
language: bash
|
2019-01-30 02:50:19 +01:00
|
|
|
|
2019-06-02 02:41:48 +02:00
|
|
|
# See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml
|
|
|
|
# for ideas on installing vcpkg
|
|
|
|
|
2019-09-06 05:48:38 +02:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2019-01-30 02:50:19 +01:00
|
|
|
matrix:
|
2019-05-14 01:51:58 +02:00
|
|
|
include:
|
|
|
|
# macOS
|
2019-06-25 09:28:11 +02:00
|
|
|
- os: osx
|
2019-07-03 23:49:39 +02:00
|
|
|
env:
|
|
|
|
- HOMEBREW_NO_AUTO_UPDATE=1
|
2019-06-25 09:28:11 +02:00
|
|
|
compiler: clang
|
|
|
|
script:
|
2019-07-03 23:46:05 +02:00
|
|
|
- brew install mbedtls
|
2019-06-25 09:28:11 +02:00
|
|
|
- python test/run.py
|
|
|
|
- make ws
|
2019-05-14 01:51:58 +02:00
|
|
|
|
2019-08-15 06:43:30 +02:00
|
|
|
# Linux
|
|
|
|
- os: linux
|
|
|
|
dist: bionic
|
2019-08-15 06:49:43 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -y libmbedtls-dev
|
2019-08-15 06:43:30 +02:00
|
|
|
script:
|
|
|
|
- python test/run.py
|
|
|
|
- make ws
|
|
|
|
env:
|
|
|
|
- CC=gcc
|
|
|
|
- CXX=g++
|
2019-06-09 23:27:45 +02:00
|
|
|
|
|
|
|
# Clang + Linux disabled for now
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# script: python test/run.py
|
|
|
|
# env:
|
|
|
|
# - CC=clang
|
|
|
|
# - CXX=clang++
|
2019-01-08 05:49:03 +01:00
|
|
|
|
2019-06-24 19:17:57 +02:00
|
|
|
# Windows
|
2019-06-25 09:28:11 +02:00
|
|
|
# - os: windows
|
|
|
|
# env:
|
|
|
|
# - CMAKE_PATH="/c/Program Files/CMake/bin"
|
|
|
|
# script:
|
|
|
|
# - cd third_party/zlib
|
|
|
|
# - cmake .
|
|
|
|
# - cmake --build . --target install
|
|
|
|
# - cd ../..
|
|
|
|
# # - cd third_party/mbedtls
|
|
|
|
# # - cmake .
|
|
|
|
# # - cmake --build . --target install
|
|
|
|
# # - cd ../..
|
|
|
|
# - export PATH=$CMAKE_PATH:$PATH
|
|
|
|
# - cd test
|
|
|
|
# - cmake .
|
|
|
|
# - cmake --build --parallel .
|
|
|
|
# - ixwebsocket_unittest.exe
|
|
|
|
# # - python test/run.py
|