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-01-30 02:50:19 +01:00
|
|
|
matrix:
|
2019-05-14 01:51:58 +02:00
|
|
|
include:
|
|
|
|
# macOS
|
2019-09-06 07:29:00 +02:00
|
|
|
# - os: osx
|
|
|
|
# env:
|
|
|
|
# - HOMEBREW_NO_AUTO_UPDATE=1
|
|
|
|
# compiler: clang
|
|
|
|
# script:
|
|
|
|
# - brew install redis
|
|
|
|
# - brew services start redis
|
|
|
|
# - brew install mbedtls
|
2019-09-06 07:14:55 +02:00
|
|
|
# - python test/run.py
|
|
|
|
# - make ws
|
2019-09-06 07:29:00 +02:00
|
|
|
|
|
|
|
Linux
|
|
|
|
- os: linux
|
|
|
|
dist: bionic
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -y libmbedtls-dev
|
|
|
|
- sudo apt-get install -y redis-server
|
|
|
|
script:
|
2019-09-06 07:32:54 +02:00
|
|
|
- python test/run.py
|
2019-09-06 07:29:00 +02:00
|
|
|
# - 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
|