Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 933fca9

Browse files
committed
Merge branch 'develop', prepare 6.1.0
2 parents 2632021 + 3e24029 commit 933fca9

File tree

10 files changed

+7551
-4964
lines changed

10 files changed

+7551
-4964
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ dist/
88
bin/server-core.js
99
bin/runner.js
1010
bin/home.html
11-
1211
.idea/
13-
package-lock.json

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,28 @@ services:
77

88
node_js: lts/erbium
99

10-
cache: yarn
10+
cache: npm
1111

1212
before_install:
1313
- curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` > docker-compose
1414
- chmod +x docker-compose
1515

1616
script:
17-
- yarn test
18-
- yarn lint
17+
- npm test
18+
- npm run lint
1919

2020
after_success:
2121
- docker rmi $(docker images -q)
22-
- yarn coveralls
23-
- yarn build
22+
- npm run coveralls
23+
- npm run build
2424
- docker login -u $HUB_USER -p $HUB_PASS
2525
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
2626
- export DEBUG_TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "debug_latest"; else echo "debug_$TRAVIS_BRANCH" ; fi`
27-
- docker build --pull -t exoframe/server:$TAG .
27+
- export VERSION=`node -pe "require('./package.json').version"`
28+
- docker build --pull --label "version=$VERSION" -t exoframe/server:$TAG .
2829
- if [ -z "$TRAVIS_TAG" ]; then echo "No tag, skipping"; else docker tag exoframe/server:$TAG exoframe/server:$TRAVIS_TAG; fi
2930
# build debug docker image
30-
- docker build --pull -f Dockerfile-debug -t exoframe/server:$DEBUG_TAG .
31+
- docker build --pull -f Dockerfile-debug --label "version=$VERSION" -t exoframe/server:$DEBUG_TAG .
3132
# push all images to registry
3233
- docker push exoframe/server
3334

@@ -38,15 +39,15 @@ env:
3839

3940
deploy:
4041
- provider: npm
41-
skip_cleanup: true
42+
edge: true
4243
email: yamalight@gmail.com
4344
api_key:
4445
secure: jx1saIbfvgwhhRJiNv0zlSGoCncgsyZCHTJM4GBmD832JB3TG8NPJJM3YRorZh+Z8UdIbqshYMfrxLkD7YrerHdC69c3ruLPc9XjThIYKpNSIUB++VH6aeGWk33KLuTFo9F2w9ByXWlyYGGapM75zfrj6nfmbCV6nBJDz6ecUC1j06l1l+V9p+JCbbcd0W7PEIzYlWCtDa7Ix8sPYK0sU7tHbBdQJB9t1Bn9sPJ/g3Qyb1DBBSHkG4UhZyXNQYyF0+GVgSYsXwzkxVJqN7K6HtEYmzRL57sLlDtk5yK9Fd5xyV0OSo3diWw6VOoywqHtznVSX1LSLfiapdYq9tQyvxqPYBA7lTtBpqQ+7iTWb0Mpp2ozhlM00LGyKiWxX6OgrveBbQcJS4GTVDkdPzZB8DSh+MsGA2nSJD4hHu0WdsLdUNIhHXV937LDbuPozngbxpm6jj2BU+cnIuaeoKyLh29Kke1dIrj2pFy3Rnki/LdPoZ6sXLn4AqEi4Iish5rPdMfVZ+Emd+H59R0MBc/N6/lmWtiFowDyuOBNYDFJc1SF0Fgs1oIMZqVv7gUMkMKg9zSZFDbFo2nuQzu/W7uGujA9Ry6u2l3Tx2Gya4Anlm+ebIDeK042EeXNx1HU8SPmP4QEKPQfQyjauxIZ9t/Mk1NAAEYuIRwSIOr0Akxs0Ng=
4546
on:
4647
repo: exoframejs/exoframe-server
4748
tags: true
4849
- provider: npm
49-
skip_cleanup: true
50+
edge: true
5051
tag: next
5152
email: yamalight@gmail.com
5253
api_key:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.11-alpine
1+
FROM node:12.15-alpine
22

33
# install docker-compose
44
RUN apk update \

0 commit comments

Comments
 (0)