diff --git a/.travis.yml b/.travis.yml index 1108550..c8a189b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,9 @@ osx_image: xcode8.3 sudo: required dist: trusty -language: c +language: node_js +node_js: + - "8.10.0" matrix: include: - os: osx @@ -22,6 +24,7 @@ addons: - icnsutils #- xvfb before_install: +- npm install yarn - mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull @@ -33,11 +36,11 @@ install: - curl -o- -L https://yarnpkg.com/install.sh | bash - source ~/.bashrc - npm install -g xvfb-maybe -- yarn script: #- xvfb-maybe node_modules/.bin/karma start test/unit/karma.conf.js #- yarn run pack && xvfb-maybe node_modules/.bin/mocha test/e2e -- yarn run build + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run ship; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run ship -- --mac --win; fi branches: only: - master diff --git a/package.json b/package.json index 68ab418..67dd36e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "testownik-electron", "productName": "Testownik", - "version": "0.5.0", + "version": "0.6.5", "author": "Kamil Golec ", "description": "An electron-vue project", "license": null, @@ -70,7 +70,6 @@ "@fortawesome/vue-fontawesome": "0.0.22", "axios": "^0.16.1", "electron-settings": "^3.1.4", - "electron-titlebar-windows": "^3.0.0", "electron-updater": "^2.21.10", "moment": "^2.22.1", "node-sass": "^4.8.3",