2019-05-13 16:51:58 -07:00
|
|
|
language: bash
|
2019-01-29 17:50:19 -08:00
|
|
|
|
2019-06-01 17:41:48 -07:00
|
|
|
# See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml
|
|
|
|
# for ideas on installing vcpkg
|
|
|
|
|
2019-01-29 17:50:19 -08:00
|
|
|
matrix:
|
2019-05-13 16:51:58 -07:00
|
|
|
include:
|
|
|
|
# macOS
|
2019-09-05 22:29:00 -07:00
|
|
|
# - os: osx
|
|
|
|
# env:
|
|
|
|
# - HOMEBREW_NO_AUTO_UPDATE=1
|
|
|
|
# compiler: clang
|
|
|
|
# script:
|
|
|
|
# - brew install redis
|
|
|
|
# - brew services start redis
|
|
|
|
# - brew install mbedtls
|
2019-09-05 22:14:55 -07:00
|
|
|
# - python test/run.py
|
|
|
|
# - make ws
|
2019-09-05 22:29:00 -07: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-05 22:32:54 -07:00
|
|
|
- python test/run.py
|
2019-09-05 22:29:00 -07:00
|
|
|
# - make ws
|
|
|
|
env:
|
|
|
|
- CC=gcc
|
|
|
|
- CXX=g++
|
2019-06-09 14:27:45 -07:00
|
|
|
|
|
|
|
# Clang + Linux disabled for now
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# script: python test/run.py
|
|
|
|
# env:
|
|
|
|
# - CC=clang
|
|
|
|
# - CXX=clang++
|
2019-01-07 20:49:03 -08:00
|
|
|
|
2019-06-24 10:17:57 -07:00
|
|
|
# Windows
|
2019-06-25 00:28:11 -07: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
|