[tor-commits] [snowflake-webext/master] Update .travis.yml and CONTRIBUTING.md
cohosh at torproject.org
cohosh at torproject.org
Wed Apr 22 21:24:56 UTC 2020
commit 6b4ec94becd1ef51f7823115edaa359ce9a9f67b
Author: Cecylia Bocovich <cohosh at torproject.org>
Date: Thu Apr 16 10:20:09 2020 -0400
Update .travis.yml and CONTRIBUTING.md
Remove the parts that apply only to the Go code and get CI working on
the new directory structure.
---
.travis.yml | 30 ++++--------------------------
CONTRIBUTING.md | 6 +-----
2 files changed, 5 insertions(+), 31 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 56d612c..cea2037 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,35 +1,13 @@
-language: go
+language: node_js
-dist: xenial
-
-go_import_path: git.torproject.org/pluggable-transports/snowflake.git
-
-addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - g++-5
- - gcc-5
+node_js:
+ - 8
-go:
- - 1.13.x
-
-env:
- - TRAVIS_NODE_VERSION="8" CC="gcc-5" CXX="g++-5"
-
-before_install:
- - nvm install $TRAVIS_NODE_VERSION
+dist: xenial
install:
- - pushd proxy
- npm install
- - popd
script:
- - test -z "$(go fmt ./...)"
- - go vet ./...
- - go test -v -race ./...
- - cd proxy
- npm run lint
- npm test
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9f8bae0..cf31c7a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,5 +1 @@
-
-- When editing Go, please run `go fmt` before every commit.
-
-- You may run tests locally with either `go test` or `npm test` for Go and
- JavaScript, respectively.
+- You may run tests locally with `npm test`
More information about the tor-commits
mailing list