mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
✌️
This commit is contained in:
parent
2b99b07fe2
commit
5ba405f8ec
@ -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