mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Run client tests in travis too
This commit is contained in:
parent
3339b9f172
commit
9867730e34
2 changed files with 49 additions and 13 deletions
40
.travis.yml
40
.travis.yml
|
@ -1,22 +1,36 @@
|
|||
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"
|
||||
|
||||
before_install:
|
||||
- nvm install $TRAVIS_NODE_VERSION
|
||||
|
||||
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_script:
|
||||
npm install -g coffee-script coffeelint jasmine
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue