Skip to content

Commit

Permalink
Merge pull request perlin-network#198 from perlin-network/v2
Browse files Browse the repository at this point in the history
Noise v2.
  • Loading branch information
iwasaki-kenta committed Feb 19, 2019
2 parents b1699ec + eaf907d commit a5f399a
Show file tree
Hide file tree
Showing 191 changed files with 10,159 additions and 16,446 deletions.
14 changes: 8 additions & 6 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ codecov:

ignore:
- "./examples"
- "**/mocks"
- "**/*.pb.go"
- "scripts.go"
- "./crypto/ed25519/internal/edwards25519"
- "./crypto/suite.go"
- "./params.go"
- "./init.go"
- "./empty.go"
- "./callbacks.go"
- "./identity/manager.go"

comment: false

Expand All @@ -18,8 +20,8 @@ coverage:
status:
project:
default:
threshold: 20%
if_not_found: success
threshold: 20%
if_not_found: success
patch:
default:
enabled: no
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ vendor/
coverage.txt

*.exe
*.test

noise
chat
debug
*.iml

go.sum
docs/book
52 changes: 38 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,45 @@
# This is a weird way of telling Travis to use the fast container-based test
# runner instead of the slow VM-based runner.
sudo: false

language: go
git:
depth: 1

go:
- "1.11"
matrix:
include:
- language: go

# Only clone the most recent commit.
git:
depth: 1
go:
- "1.11"

install: true

script:
- GO111MODULE=on go test -coverprofile=coverage.txt -covermode=atomic -bench -race ./...

after_success:
- bash <(curl -s https://codecov.io/bash)

- language: rust

cache:
- cargo

rust:
- stable

before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
- cargo install-update -a

# Skip the install step. Don't `go get` dependencies. Only build with the code in vendor/
install: true
script:
- cd docs && mdbook build && mdbook test

script:
- GO111MODULE=on go test -coverprofile=coverage.txt -covermode=atomic -bench -race ./...
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: docs/book
keep-history: false
on:
branch: master

after_success:
- bash <(curl -s https://codecov.io/bash)
Loading

0 comments on commit a5f399a

Please sign in to comment.