mirror of
https://github.com/SmartHoneybee/ubiquitous-memory
synced 2025-06-24 16:20:03 +02:00
Update .travis.yml (#21)
This commit is contained in:
parent
53a8823dd3
commit
a841d22ea1
@ -5,7 +5,7 @@ addons:
|
|||||||
sources:
|
sources:
|
||||||
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
|
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
|
||||||
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
|
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
|
||||||
- sourceline: 'deb https://deb.nodesource.com/node_8.x trusty main'
|
- sourceline: 'deb https://deb.nodesource.com/node_9.x trusty main'
|
||||||
key_url: 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
key_url: 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
||||||
packages:
|
packages:
|
||||||
- nodejs
|
- nodejs
|
||||||
@ -13,15 +13,15 @@ addons:
|
|||||||
- build-essential
|
- build-essential
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- GOV=1.9.2
|
- GOV=1.9.4
|
||||||
- GOSHA="de874549d9a8d8d8062be05808509c09a88a248e77ec14eb77453530829ac02b go${GOV}.linux-amd64.tar.gz"
|
- GOSHA="15b0937615809f87321a457bb1265f946f9f6e736c563d6c5e0bd2c22e44f779 go${GOV}.linux-amd64.tar.gz"
|
||||||
- GOPATH="${HOME}/go"
|
- GOPATH="${HOME}/go"
|
||||||
- GOROOT="${HOME}/${GOV}/go"
|
- GOROOT="${HOME}/${GOV}/go"
|
||||||
- PATH="${GOROOT}/bin:${PATH}:${GOPATH}/bin"
|
- PATH="${GOROOT}/bin:${PATH}:${GOPATH}/bin"
|
||||||
- SRCROOT="${GOPATH}/src/github.com/mattermost"
|
- SRCROOT="${GOPATH}/src/github.com/mattermost"
|
||||||
- GOARM=7
|
- GOARM=7
|
||||||
matrix:
|
matrix:
|
||||||
- V=4.7.0
|
- V=4.7.1
|
||||||
before_install:
|
before_install:
|
||||||
- install -d "${GOPATH}" "${GOROOT}" "${SRCROOT}/mattermost-"{server,webapp}
|
- install -d "${GOPATH}" "${GOROOT}" "${SRCROOT}/mattermost-"{server,webapp}
|
||||||
- wget -q "https://storage.googleapis.com/golang/go${GOV}.linux-amd64.tar.gz"
|
- wget -q "https://storage.googleapis.com/golang/go${GOV}.linux-amd64.tar.gz"
|
||||||
@ -33,6 +33,7 @@ before_install:
|
|||||||
- wget -q "https://github.com/mattermost/mattermost-webapp/archive/v${V}.tar.gz" -O mattermost-webapp.tar.gz
|
- wget -q "https://github.com/mattermost/mattermost-webapp/archive/v${V}.tar.gz" -O mattermost-webapp.tar.gz
|
||||||
- tar -C "${SRCROOT}/mattermost-webapp" --strip-components=1 -xf mattermost-webapp.tar.gz
|
- tar -C "${SRCROOT}/mattermost-webapp" --strip-components=1 -xf mattermost-webapp.tar.gz
|
||||||
script:
|
script:
|
||||||
|
- patch -d "${SRCROOT}/mattermost-webapp" -p1 < "${TRAVIS_BUILD_DIR}/webpack.patch"
|
||||||
- make build -C "${SRCROOT}/mattermost-webapp"
|
- make build -C "${SRCROOT}/mattermost-webapp"
|
||||||
- patch -d "${SRCROOT}/mattermost-server" -p1 < "${TRAVIS_BUILD_DIR}/make.patch"
|
- patch -d "${SRCROOT}/mattermost-server" -p1 < "${TRAVIS_BUILD_DIR}/make.patch"
|
||||||
- go get -d github.com/mattermost/mattermost-server/...
|
- go get -d github.com/mattermost/mattermost-server/...
|
||||||
|
13
webpack.patch
Normal file
13
webpack.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/package.json b/package.json
|
||||||
|
index d4eabf8..d076a53 100644
|
||||||
|
--- a/package.json
|
||||||
|
+++ b/package.json
|
||||||
|
@@ -146,7 +146,7 @@
|
||||||
|
"scripts": {
|
||||||
|
"check": "eslint --ignore-pattern node_modules --ignore-pattern non_npm_dependencies --ignore-pattern dist --ext .js --ext .jsx . --quiet",
|
||||||
|
"fix": "eslint --ignore-pattern node_modules --ignore-pattern non_npm_dependencies --ignore-pattern dist --ext .js --ext .jsx . --quiet --fix",
|
||||||
|
- "build": "cross-env NODE_ENV=production webpack --display-error-details --verbose --progress",
|
||||||
|
+ "build": "cross-env NODE_ENV=production webpack --display-error-details --progress",
|
||||||
|
"run": "cross-env NODE_ENV=production webpack --progress --watch",
|
||||||
|
"run-fullmap": "webpack --progress --watch",
|
||||||
|
"test": "jest --forceExit",
|
Loading…
x
Reference in New Issue
Block a user