mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 22:56:49 +09:00
✌️
This commit is contained in:
parent
db08a210cb
commit
dead83d75e
@ -4,7 +4,7 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- 7.7.3
|
- 7.10.0
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CXX=g++-4.8 NODE_ENV=production
|
- CXX=g++-4.8 NODE_ENV=production
|
||||||
@ -31,11 +31,14 @@ before_script:
|
|||||||
# --only=dev オプションを付けてそれらもインストールされるようにする:
|
# --only=dev オプションを付けてそれらもインストールされるようにする:
|
||||||
- npm install --only=dev
|
- npm install --only=dev
|
||||||
|
|
||||||
|
# 設定ファイルを設定
|
||||||
- mkdir ./.config
|
- mkdir ./.config
|
||||||
- cp ./.travis/default.yml ./.config
|
- cp ./.travis/default.yml ./.config
|
||||||
- cp ./.travis/test.yml ./.config
|
- cp ./.travis/test.yml ./.config
|
||||||
|
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
# リリース
|
||||||
- chmod u+x ./.travis/release.sh
|
- chmod u+x ./.travis/release.sh
|
||||||
- if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST = "false" ]; then ./.travis/release.sh; else echo "Skipping releasing task"; fi
|
- if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST = "false" ]; then ./.travis/release.sh; else echo "Skipping releasing task"; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user