mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
added yarn test to travis.yml (#5696)
This commit is contained in:
parent
85154508b0
commit
4ca0ec4586
@ -14,6 +14,9 @@ os:
|
|||||||
env:
|
env:
|
||||||
- ARCH=x86_64
|
- ARCH=x86_64
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- nvm install stable
|
||||||
|
|
||||||
script:
|
script:
|
||||||
## Run all the tests
|
## Run all the tests
|
||||||
- make
|
- make
|
||||||
@ -21,6 +24,8 @@ script:
|
|||||||
- diff -au <(gofmt -s -d pkg) <(printf "")
|
- diff -au <(gofmt -s -d pkg) <(printf "")
|
||||||
- make test GOFLAGS="-timeout 15m -race -v"
|
- make test GOFLAGS="-timeout 15m -race -v"
|
||||||
- make coverage
|
- make coverage
|
||||||
|
- node --version
|
||||||
|
- cd browser && yarn && yarn test && cd ..
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
@ -438,6 +438,11 @@ describe("Objects actions", () => {
|
|||||||
Object.defineProperty(window, "location", {
|
Object.defineProperty(window, "location", {
|
||||||
set(url) {
|
set(url) {
|
||||||
setLocation(url)
|
setLocation(url)
|
||||||
|
},
|
||||||
|
get() {
|
||||||
|
return {
|
||||||
|
origin: "http://localhost:8080"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const store = mockStore({
|
const store = mockStore({
|
||||||
@ -460,6 +465,11 @@ describe("Objects actions", () => {
|
|||||||
Object.defineProperty(window, "location", {
|
Object.defineProperty(window, "location", {
|
||||||
set(url) {
|
set(url) {
|
||||||
setLocation(url)
|
setLocation(url)
|
||||||
|
},
|
||||||
|
get() {
|
||||||
|
return {
|
||||||
|
origin: "http://localhost:8080"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const store = mockStore({
|
const store = mockStore({
|
||||||
|
Loading…
Reference in New Issue
Block a user