From be41404eece2f0c9ddfc95fcad693e72faa15ce9 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sat, 25 Aug 2018 19:45:14 -0400 Subject: [PATCH 1/6] WIP: Experiment with CircleCI 2.0. --- circle.yml | 166 ++++++++++------------------------------------------- 1 file changed, 30 insertions(+), 136 deletions(-) diff --git a/circle.yml b/circle.yml index a4c40884d..a8523b47e 100644 --- a/circle.yml +++ b/circle.yml @@ -1,137 +1,31 @@ -machine: - node: - version: 10.0.0 - environment: - SOURCE_MAP_SUPPORT: false +version: 2 +jobs: + build: + docker: + - image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37 + command: /sbin/init + environment: + SOURCE_MAP_SUPPORT: false + working_directory: ~/go/src/github.com/gopherjs/gopherjs + steps: + - checkout + - run: nvm install 10.0.0 && nvm alias default 10.0.0 + - run: cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz | sudo tar -xz + - run: echo 'export PATH="$PATH:/usr/local/go/bin:$HOME/go/bin"' >> $BASH_ENV + - run: go get -t -d -v ./... + - run: go install -v + - run: npm install # Install our (dev) dependencies from package.json. + - run: npm install --global node-gyp + - run: cd node-syscall && node-gyp rebuild && mkdir -p ~/.node_libraries && cp build/Release/syscall.node ~/.node_libraries/syscall.node -dependencies: - pre: - - cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz | sudo tar -xz && sudo chmod a+w go/src/path/filepath - post: - - mv ./gopherjs $HOME/bin - - npm install --global node-gyp - - npm install # install our (dev) dependencies from package.json - - cd node-syscall && node-gyp rebuild && mkdir -p ~/.node_libraries/ && cp build/Release/syscall.node ~/.node_libraries/syscall.node - -test: - override: - - go generate github.com/gopherjs/gopherjs/compiler/prelude - - diff -u <(echo -n) <(git status --porcelain) - - diff -u <(echo -n) <(gofmt -d .) - - go tool vet *.go # Go package in root directory. - - for d in */; do echo $d; done | grep -v tests/ | grep -v third_party/ | xargs go tool vet # All subdirectories except "tests", "third_party". - - diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. - - gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). - - > - ulimit -s 10000 && gopherjs test --minify -v --short - github.com/gopherjs/gopherjs/tests - github.com/gopherjs/gopherjs/tests/main - github.com/gopherjs/gopherjs/js - archive/tar - archive/zip - bufio - bytes - compress/bzip2 - compress/flate - compress/gzip - compress/lzw - compress/zlib - container/heap - container/list - container/ring - crypto/aes - crypto/cipher - crypto/des - crypto/dsa - crypto/ecdsa - crypto/elliptic - crypto/hmac - crypto/md5 - crypto/rand - crypto/rc4 - crypto/rsa - crypto/sha1 - crypto/sha256 - crypto/sha512 - crypto/subtle - crypto/x509 - database/sql - database/sql/driver - debug/dwarf - debug/elf - debug/macho - debug/pe - encoding/ascii85 - encoding/asn1 - encoding/base32 - encoding/base64 - encoding/binary - encoding/csv - encoding/gob - encoding/hex - encoding/json - encoding/pem - encoding/xml - errors - expvar - flag - fmt - go/ast - go/constant - go/doc - go/format - go/parser - go/printer - go/scanner - go/token - hash/adler32 - hash/crc32 - hash/crc64 - hash/fnv - html - html/template - image - image/color - image/draw - image/gif - image/jpeg - image/png - index/suffixarray - io - io/ioutil - math - math/big - math/bits - math/cmplx - math/rand - mime - mime/multipart - mime/quotedprintable - net/http/cookiejar - net/http/fcgi - net/mail - net/rpc/jsonrpc - net/textproto - net/url - os/user - path - path/filepath - reflect - regexp - regexp/syntax - sort - strconv - strings - sync - sync/atomic - testing/quick - text/scanner - text/tabwriter - text/template - text/template/parse - time - unicode - unicode/utf16 - unicode/utf8 - - go test -v -race ./... - - gopherjs test -v fmt # No minification should work. + - run: go generate github.com/gopherjs/gopherjs/compiler/prelude + - run: diff -u <(echo -n) <(git status --porcelain) + - run: diff -u <(echo -n) <(gofmt -d .) + - run: go tool vet *.go # Go package in root directory. + - run: for d in */; do echo $d; done | grep -v tests/ | grep -v third_party/ | xargs go tool vet # All subdirectories except "tests", "third_party". + - run: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. + - run: gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). + - run: | + ulimit -s 10000 && gopherjs test --minify -v --short github.com/gopherjs/gopherjs/tests github.com/gopherjs/gopherjs/tests/main github.com/gopherjs/gopherjs/js archive/tar archive/zip bufio bytes compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib container/heap container/list container/ring crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/x509 database/sql database/sql/driver debug/dwarf debug/elf debug/macho debug/pe encoding/ascii85 encoding/asn1 encoding/base32 encoding/base64 encoding/binary encoding/csv encoding/gob encoding/hex encoding/json encoding/pem encoding/xml errors expvar flag fmt go/ast go/constant go/doc go/format go/parser go/printer go/scanner go/token hash/adler32 hash/crc32 hash/crc64 hash/fnv html html/template image image/color image/draw image/gif image/jpeg image/png index/suffixarray io io/ioutil math math/big math/bits math/cmplx math/rand mime mime/multipart mime/quotedprintable net/http/cookiejar net/http/fcgi net/mail net/rpc/jsonrpc net/textproto net/url os/user path path/filepath reflect regexp regexp/syntax sort strconv strings sync sync/atomic testing/quick text/scanner text/tabwriter text/template text/template/parse time unicode unicode/utf16 unicode/utf8 + - run: go test -v -race ./... + - run: gopherjs test -v fmt # No minification should work. From 829ee7f5ffd0d515f36f8cc8cb9bd9ca9343ac7e Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sat, 25 Aug 2018 21:32:20 -0400 Subject: [PATCH 2/6] WIP: Try to install nvm. --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index a8523b47e..b82627837 100644 --- a/circle.yml +++ b/circle.yml @@ -9,6 +9,7 @@ jobs: working_directory: ~/go/src/github.com/gopherjs/gopherjs steps: - checkout + - run: git clone https://github.com/creationix/nvm $HOME/.nvm && cd $HOME/.nvm && git checkout v0.33.9 && echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV && echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV - run: nvm install 10.0.0 && nvm alias default 10.0.0 - run: cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz | sudo tar -xz - run: echo 'export PATH="$PATH:/usr/local/go/bin:$HOME/go/bin"' >> $BASH_ENV From d2cf9278538aea3c79aa582c7043cf9c57233418 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sat, 25 Aug 2018 22:08:30 -0400 Subject: [PATCH 3/6] WIP: Try to remove os/user test. It's failing in this environment for some reason. --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index b82627837..4928d4f27 100644 --- a/circle.yml +++ b/circle.yml @@ -27,6 +27,6 @@ jobs: - run: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. - run: gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). - run: | - ulimit -s 10000 && gopherjs test --minify -v --short github.com/gopherjs/gopherjs/tests github.com/gopherjs/gopherjs/tests/main github.com/gopherjs/gopherjs/js archive/tar archive/zip bufio bytes compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib container/heap container/list container/ring crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/x509 database/sql database/sql/driver debug/dwarf debug/elf debug/macho debug/pe encoding/ascii85 encoding/asn1 encoding/base32 encoding/base64 encoding/binary encoding/csv encoding/gob encoding/hex encoding/json encoding/pem encoding/xml errors expvar flag fmt go/ast go/constant go/doc go/format go/parser go/printer go/scanner go/token hash/adler32 hash/crc32 hash/crc64 hash/fnv html html/template image image/color image/draw image/gif image/jpeg image/png index/suffixarray io io/ioutil math math/big math/bits math/cmplx math/rand mime mime/multipart mime/quotedprintable net/http/cookiejar net/http/fcgi net/mail net/rpc/jsonrpc net/textproto net/url os/user path path/filepath reflect regexp regexp/syntax sort strconv strings sync sync/atomic testing/quick text/scanner text/tabwriter text/template text/template/parse time unicode unicode/utf16 unicode/utf8 + ulimit -s 10000 && gopherjs test --minify -v --short github.com/gopherjs/gopherjs/tests github.com/gopherjs/gopherjs/tests/main github.com/gopherjs/gopherjs/js archive/tar archive/zip bufio bytes compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib container/heap container/list container/ring crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/x509 database/sql database/sql/driver debug/dwarf debug/elf debug/macho debug/pe encoding/ascii85 encoding/asn1 encoding/base32 encoding/base64 encoding/binary encoding/csv encoding/gob encoding/hex encoding/json encoding/pem encoding/xml errors expvar flag fmt go/ast go/constant go/doc go/format go/parser go/printer go/scanner go/token hash/adler32 hash/crc32 hash/crc64 hash/fnv html html/template image image/color image/draw image/gif image/jpeg image/png index/suffixarray io io/ioutil math math/big math/bits math/cmplx math/rand mime mime/multipart mime/quotedprintable net/http/cookiejar net/http/fcgi net/mail net/rpc/jsonrpc net/textproto net/url path path/filepath reflect regexp regexp/syntax sort strconv strings sync sync/atomic testing/quick text/scanner text/tabwriter text/template text/template/parse time unicode unicode/utf16 unicode/utf8 - run: go test -v -race ./... - run: gopherjs test -v fmt # No minification should work. From f6024a5854574d3c4d82bace3508d818b58cdb88 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 2 Oct 2018 23:38:58 -0400 Subject: [PATCH 4/6] WIP: Try to use multiple lines for package tests. Reference: https://circleci.com/docs/2.0/configuration-reference/. --- circle.yml | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 4928d4f27..524510228 100644 --- a/circle.yml +++ b/circle.yml @@ -27,6 +27,114 @@ jobs: - run: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. - run: gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). - run: | - ulimit -s 10000 && gopherjs test --minify -v --short github.com/gopherjs/gopherjs/tests github.com/gopherjs/gopherjs/tests/main github.com/gopherjs/gopherjs/js archive/tar archive/zip bufio bytes compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib container/heap container/list container/ring crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/x509 database/sql database/sql/driver debug/dwarf debug/elf debug/macho debug/pe encoding/ascii85 encoding/asn1 encoding/base32 encoding/base64 encoding/binary encoding/csv encoding/gob encoding/hex encoding/json encoding/pem encoding/xml errors expvar flag fmt go/ast go/constant go/doc go/format go/parser go/printer go/scanner go/token hash/adler32 hash/crc32 hash/crc64 hash/fnv html html/template image image/color image/draw image/gif image/jpeg image/png index/suffixarray io io/ioutil math math/big math/bits math/cmplx math/rand mime mime/multipart mime/quotedprintable net/http/cookiejar net/http/fcgi net/mail net/rpc/jsonrpc net/textproto net/url path path/filepath reflect regexp regexp/syntax sort strconv strings sync sync/atomic testing/quick text/scanner text/tabwriter text/template text/template/parse time unicode unicode/utf16 unicode/utf8 + ulimit -s 10000 && gopherjs test --minify -v --short + github.com/gopherjs/gopherjs/tests + github.com/gopherjs/gopherjs/tests/main + github.com/gopherjs/gopherjs/js + archive/tar + archive/zip + bufio + bytes + compress/bzip2 + compress/flate + compress/gzip + compress/lzw + compress/zlib + container/heap + container/list + container/ring + crypto/aes + crypto/cipher + crypto/des + crypto/dsa + crypto/ecdsa + crypto/elliptic + crypto/hmac + crypto/md5 + crypto/rand + crypto/rc4 + crypto/rsa + crypto/sha1 + crypto/sha256 + crypto/sha512 + crypto/subtle + crypto/x509 + database/sql + database/sql/driver + debug/dwarf + debug/elf + debug/macho + debug/pe + encoding/ascii85 + encoding/asn1 + encoding/base32 + encoding/base64 + encoding/binary + encoding/csv + encoding/gob + encoding/hex + encoding/json + encoding/pem + encoding/xml + errors + expvar + flag + fmt + go/ast + go/constant + go/doc + go/format + go/parser + go/printer + go/scanner + go/token + hash/adler32 + hash/crc32 + hash/crc64 + hash/fnv + html + html/template + image + image/color + image/draw + image/gif + image/jpeg + image/png + index/suffixarray + io + io/ioutil + math + math/big + math/bits + math/cmplx + math/rand + mime + mime/multipart + mime/quotedprintable + net/http/cookiejar + net/http/fcgi + net/mail + net/rpc/jsonrpc + net/textproto + net/url + path + path/filepath + reflect + regexp + regexp/syntax + sort + strconv + strings + sync + sync/atomic + testing/quick + text/scanner + text/tabwriter + text/template + text/template/parse + time + unicode + unicode/utf16 + unicode/utf8 - run: go test -v -race ./... - run: gopherjs test -v fmt # No minification should work. From e84adad644c21cead275afc65bdfe505c86bc192 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 2 Oct 2018 23:48:36 -0400 Subject: [PATCH 5/6] WIP: Try to fix multiple lines. --- circle.yml | 216 ++++++++++++++++++++++++++--------------------------- 1 file changed, 108 insertions(+), 108 deletions(-) diff --git a/circle.yml b/circle.yml index 524510228..f76bc075c 100644 --- a/circle.yml +++ b/circle.yml @@ -27,114 +27,114 @@ jobs: - run: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. - run: gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). - run: | - ulimit -s 10000 && gopherjs test --minify -v --short - github.com/gopherjs/gopherjs/tests - github.com/gopherjs/gopherjs/tests/main - github.com/gopherjs/gopherjs/js - archive/tar - archive/zip - bufio - bytes - compress/bzip2 - compress/flate - compress/gzip - compress/lzw - compress/zlib - container/heap - container/list - container/ring - crypto/aes - crypto/cipher - crypto/des - crypto/dsa - crypto/ecdsa - crypto/elliptic - crypto/hmac - crypto/md5 - crypto/rand - crypto/rc4 - crypto/rsa - crypto/sha1 - crypto/sha256 - crypto/sha512 - crypto/subtle - crypto/x509 - database/sql - database/sql/driver - debug/dwarf - debug/elf - debug/macho - debug/pe - encoding/ascii85 - encoding/asn1 - encoding/base32 - encoding/base64 - encoding/binary - encoding/csv - encoding/gob - encoding/hex - encoding/json - encoding/pem - encoding/xml - errors - expvar - flag - fmt - go/ast - go/constant - go/doc - go/format - go/parser - go/printer - go/scanner - go/token - hash/adler32 - hash/crc32 - hash/crc64 - hash/fnv - html - html/template - image - image/color - image/draw - image/gif - image/jpeg - image/png - index/suffixarray - io - io/ioutil - math - math/big - math/bits - math/cmplx - math/rand - mime - mime/multipart - mime/quotedprintable - net/http/cookiejar - net/http/fcgi - net/mail - net/rpc/jsonrpc - net/textproto - net/url - path - path/filepath - reflect - regexp - regexp/syntax - sort - strconv - strings - sync - sync/atomic - testing/quick - text/scanner - text/tabwriter - text/template - text/template/parse - time - unicode - unicode/utf16 + ulimit -s 10000 && gopherjs test --minify -v --short \ + github.com/gopherjs/gopherjs/tests \ + github.com/gopherjs/gopherjs/tests/main \ + github.com/gopherjs/gopherjs/js \ + archive/tar \ + archive/zip \ + bufio \ + bytes \ + compress/bzip2 \ + compress/flate \ + compress/gzip \ + compress/lzw \ + compress/zlib \ + container/heap \ + container/list \ + container/ring \ + crypto/aes \ + crypto/cipher \ + crypto/des \ + crypto/dsa \ + crypto/ecdsa \ + crypto/elliptic \ + crypto/hmac \ + crypto/md5 \ + crypto/rand \ + crypto/rc4 \ + crypto/rsa \ + crypto/sha1 \ + crypto/sha256 \ + crypto/sha512 \ + crypto/subtle \ + crypto/x509 \ + database/sql \ + database/sql/driver \ + debug/dwarf \ + debug/elf \ + debug/macho \ + debug/pe \ + encoding/ascii85 \ + encoding/asn1 \ + encoding/base32 \ + encoding/base64 \ + encoding/binary \ + encoding/csv \ + encoding/gob \ + encoding/hex \ + encoding/json \ + encoding/pem \ + encoding/xml \ + errors \ + expvar \ + flag \ + fmt \ + go/ast \ + go/constant \ + go/doc \ + go/format \ + go/parser \ + go/printer \ + go/scanner \ + go/token \ + hash/adler32 \ + hash/crc32 \ + hash/crc64 \ + hash/fnv \ + html \ + html/template \ + image \ + image/color \ + image/draw \ + image/gif \ + image/jpeg \ + image/png \ + index/suffixarray \ + io \ + io/ioutil \ + math \ + math/big \ + math/bits \ + math/cmplx \ + math/rand \ + mime \ + mime/multipart \ + mime/quotedprintable \ + net/http/cookiejar \ + net/http/fcgi \ + net/mail \ + net/rpc/jsonrpc \ + net/textproto \ + net/url \ + path \ + path/filepath \ + reflect \ + regexp \ + regexp/syntax \ + sort \ + strconv \ + strings \ + sync \ + sync/atomic \ + testing/quick \ + text/scanner \ + text/tabwriter \ + text/template \ + text/template/parse \ + time \ + unicode \ + unicode/utf16 \ unicode/utf8 - run: go test -v -race ./... - run: gopherjs test -v fmt # No minification should work. From 15120d03ab53ce682514d4f6cf5997a35a00074c Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 2 Oct 2018 23:53:03 -0400 Subject: [PATCH 6/6] WIP: Try to simplify multi-line command. Reference: https://circleci.com/docs/2.0/writing-yaml/#multi-line-strings. --- circle.yml | 218 ++++++++++++++++++++++++++--------------------------- 1 file changed, 109 insertions(+), 109 deletions(-) diff --git a/circle.yml b/circle.yml index f76bc075c..c63f47413 100644 --- a/circle.yml +++ b/circle.yml @@ -26,115 +26,115 @@ jobs: - run: for d in */; do echo $d; done | grep -v tests/ | grep -v third_party/ | xargs go tool vet # All subdirectories except "tests", "third_party". - run: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js. - run: gopherjs install -v net/http # Should build successfully (can't run tests, since only client is supported). - - run: | - ulimit -s 10000 && gopherjs test --minify -v --short \ - github.com/gopherjs/gopherjs/tests \ - github.com/gopherjs/gopherjs/tests/main \ - github.com/gopherjs/gopherjs/js \ - archive/tar \ - archive/zip \ - bufio \ - bytes \ - compress/bzip2 \ - compress/flate \ - compress/gzip \ - compress/lzw \ - compress/zlib \ - container/heap \ - container/list \ - container/ring \ - crypto/aes \ - crypto/cipher \ - crypto/des \ - crypto/dsa \ - crypto/ecdsa \ - crypto/elliptic \ - crypto/hmac \ - crypto/md5 \ - crypto/rand \ - crypto/rc4 \ - crypto/rsa \ - crypto/sha1 \ - crypto/sha256 \ - crypto/sha512 \ - crypto/subtle \ - crypto/x509 \ - database/sql \ - database/sql/driver \ - debug/dwarf \ - debug/elf \ - debug/macho \ - debug/pe \ - encoding/ascii85 \ - encoding/asn1 \ - encoding/base32 \ - encoding/base64 \ - encoding/binary \ - encoding/csv \ - encoding/gob \ - encoding/hex \ - encoding/json \ - encoding/pem \ - encoding/xml \ - errors \ - expvar \ - flag \ - fmt \ - go/ast \ - go/constant \ - go/doc \ - go/format \ - go/parser \ - go/printer \ - go/scanner \ - go/token \ - hash/adler32 \ - hash/crc32 \ - hash/crc64 \ - hash/fnv \ - html \ - html/template \ - image \ - image/color \ - image/draw \ - image/gif \ - image/jpeg \ - image/png \ - index/suffixarray \ - io \ - io/ioutil \ - math \ - math/big \ - math/bits \ - math/cmplx \ - math/rand \ - mime \ - mime/multipart \ - mime/quotedprintable \ - net/http/cookiejar \ - net/http/fcgi \ - net/mail \ - net/rpc/jsonrpc \ - net/textproto \ - net/url \ - path \ - path/filepath \ - reflect \ - regexp \ - regexp/syntax \ - sort \ - strconv \ - strings \ - sync \ - sync/atomic \ - testing/quick \ - text/scanner \ - text/tabwriter \ - text/template \ - text/template/parse \ - time \ - unicode \ - unicode/utf16 \ + - run: > + ulimit -s 10000 && gopherjs test --minify -v --short + github.com/gopherjs/gopherjs/tests + github.com/gopherjs/gopherjs/tests/main + github.com/gopherjs/gopherjs/js + archive/tar + archive/zip + bufio + bytes + compress/bzip2 + compress/flate + compress/gzip + compress/lzw + compress/zlib + container/heap + container/list + container/ring + crypto/aes + crypto/cipher + crypto/des + crypto/dsa + crypto/ecdsa + crypto/elliptic + crypto/hmac + crypto/md5 + crypto/rand + crypto/rc4 + crypto/rsa + crypto/sha1 + crypto/sha256 + crypto/sha512 + crypto/subtle + crypto/x509 + database/sql + database/sql/driver + debug/dwarf + debug/elf + debug/macho + debug/pe + encoding/ascii85 + encoding/asn1 + encoding/base32 + encoding/base64 + encoding/binary + encoding/csv + encoding/gob + encoding/hex + encoding/json + encoding/pem + encoding/xml + errors + expvar + flag + fmt + go/ast + go/constant + go/doc + go/format + go/parser + go/printer + go/scanner + go/token + hash/adler32 + hash/crc32 + hash/crc64 + hash/fnv + html + html/template + image + image/color + image/draw + image/gif + image/jpeg + image/png + index/suffixarray + io + io/ioutil + math + math/big + math/bits + math/cmplx + math/rand + mime + mime/multipart + mime/quotedprintable + net/http/cookiejar + net/http/fcgi + net/mail + net/rpc/jsonrpc + net/textproto + net/url + path + path/filepath + reflect + regexp + regexp/syntax + sort + strconv + strings + sync + sync/atomic + testing/quick + text/scanner + text/tabwriter + text/template + text/template/parse + time + unicode + unicode/utf16 unicode/utf8 - run: go test -v -race ./... - run: gopherjs test -v fmt # No minification should work.