Skip to content
Snippets Groups Projects
Commit 9867730e authored by Arlo Breault's avatar Arlo Breault
Browse files

Run client tests in travis too

parent 3339b9f1
No related branches found
No related tags found
No related merge requests found
language: go
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
go:
- 1.5
- 1.6
- 1.6
env:
- TRAVIS_NODE_VERSION="4.1"
- TRAVIS_NODE_VERSION="4.2" CC="gcc-5" CXX="g++-5"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- go get -u github.com/smartystreets/goconvey
before_install:
- nvm install $TRAVIS_NODE_VERSION
before_script:
npm install -g coffee-script coffeelint jasmine
install:
- go get -u github.com/smartystreets/goconvey
- go get -u github.com/keroserene/go-webrtc
- go get -u git.torproject.org/pluggable-transports/goptlib.git
- pushd proxy
- npm install
- popd
script:
- make check
- go test -v -race ./broker
- cd proxy
- cake lint
- cake test
- make check
- go test -v -race ./broker ./client
- cd proxy
- npm run-script lint
- npm test
{
"name": "snowflake-pt",
"version": "0.0.0-git",
"description": "WebRTC Pluggable Transport",
"main": "snowflake.coffee",
"directories": {
"test": "test"
},
"scripts": {
"test": "cake test",
"lint": "cake lint"
},
"author": "Serene Han",
"license": "BSD-3-Clause",
"devDependencies": {
"coffeelint": "^1.15.0",
"jasmine": "^2.4.1"
},
"dependencies": {
"coffee-script": "^1.10.0"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment