summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-29 01:35:06 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-29 01:35:06 -0400
commit1d71f93e2f96bb2b035cd075ef4113eb86d719a1 (patch)
tree8345964c4030a2c950702cd8faeab31ea4765c2b
parentfd31f5d26d61ee6cf79cd6dd859d9cda29f8a9e6 (diff)
Fix ccache in travis (and update readme)
-rw-r--r--.travis.yml28
-rw-r--r--README.md7
2 files changed, 7 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
index 75afe3433..73ed52ccf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,29 +1,9 @@
-language: go
-go:
- - 1.9.2
-before_cache:
- - ccache -s
- - mv $GOPATH/src/github.com/ry/v8worker2/out $V8WORKER2_OUT
-cache:
- directories:
- - $HOME/.ccache
- - $PROTOBUF_ROOT
- - $V8WORKER2_OUT
- # Adding the following makes it fail with:
- # $ go get ./...
- # dispatch.go:5:2: no Go files in /home/travis/gopath/src/github.com/ry/v8worker2
- #- $GOPATH/src/github.com/ry/v8worker2/out
+language: c++
+cache: ccache
env:
global:
- - USE_CCACHE=1
- PROTOBUF_ROOT=$HOME/protobuf
- - V8WORKER2_OUT=$HOME/v8worker2_out
before_install: |
- # ccache
- unset CCACHE_DISABLE
- mkdir -p $HOME/.ccache
- export PATH=/usr/lib/ccache:$PATH
-
# protobuf
export PATH=$PROTOBUF_ROOT/bin:$PATH
if ! [ -x $PROTOBUF_ROOT/bin/protoc ]; then
@@ -37,10 +17,6 @@ before_install: |
install:
- env
- go get -d github.com/ry/v8worker2
- - |
- if [ -d $V8WORKER2_OUT ]; then
- mv $V8WORKER2_OUT $GOPATH/src/github.com/ry/v8worker2/out
- fi
- ( cd $GOPATH/src/github.com/ry/v8worker2 && ./build.py --use_ccache )
- go get -u github.com/golang/protobuf/proto
- go get -u github.com/spf13/afero
diff --git a/README.md b/README.md
index 0019f9527..159ccbe64 100644
--- a/README.md
+++ b/README.md
@@ -8,14 +8,17 @@ A JavaScript runtime using V8 6.8 and Go.
* No package.json, no npm. Not backwards compatible with Node.
-* imports reference source code URLs only.
+* Imports reference source code URLs only.
```
import { test } from "https://unpkg.com/deno_testing@0.0.5/testing.ts"
import { log } from "./util.ts"
```
* File system and network access can be controlled in order to run sandboxed
- code. Defaults to read-only file system access.
+ code. Defaults to read-only file system access. Access between V8
+ (unprivlaged) and Golang (privlaged) is only done via serialized messages
+ defined in this protobuf: https://github.com/ry/deno/blob/master/msg.proto
+ This makes it easy to audit.
* Single executable:
```