Enable macOS and Windows builds on Travis, remove AppVeyor config

This commit is contained in:
Pavel Djundik 2018-10-11 23:19:15 +03:00
parent bebc9db629
commit b8f0a4601c
3 changed files with 14 additions and 41 deletions

View File

@ -6,10 +6,20 @@ node_js:
- 8 # EOL: December 2019 - 8 # EOL: December 2019
- 6 # EOL: April 2019 - 6 # EOL: April 2019
os:
- linux
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- node_js: 8 # Version used to deploy to npm registry - node_js: 8
os: windows
env: YARN_GPG=no # starts gpg-agent that never exits
- node_js: 8
os: osx
- name: "Production build"
node_js: 8 # Version used to deploy to npm registry
os: linux
env: BUILD_ENV=production env: BUILD_ENV=production
cache: yarn cache: yarn
@ -18,7 +28,7 @@ before_script:
- NODE_ENV=$BUILD_ENV yarn build - NODE_ENV=$BUILD_ENV yarn build
install: install:
- yarn --frozen-lockfile - yarn --frozen-lockfile --non-interactive --network-timeout 300000
notifications: notifications:
email: email:

View File

@ -26,12 +26,9 @@
<a href="https://yarn.pm/thelounge"><img <a href="https://yarn.pm/thelounge"><img
alt="npm version" alt="npm version"
src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square&maxAge=3600"></a> src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square&maxAge=3600"></a>
<a href="https://travis-ci.org/thelounge/thelounge"><img <a href="https://travis-ci.com/thelounge/thelounge"><img
alt="Travis CI Build Status" alt="Travis CI Build Status"
src="https://img.shields.io/travis/thelounge/thelounge/master.svg?label=linux&style=flat-square&maxAge=60"></a> src="https://img.shields.io/travis/com/thelounge/thelounge/master.svg?style=flat-square&maxAge=60"></a>
<a href="https://ci.appveyor.com/project/astorije/lounge/branch/master"><img
alt="AppVeyor Build Status"
src="https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows&style=flat-square&maxAge=60"></a>
<a href="https://david-dm.org/thelounge/thelounge"><img <a href="https://david-dm.org/thelounge/thelounge"><img
alt="Dependencies Status" alt="Dependencies Status"
src="https://img.shields.io/david/thelounge/thelounge.svg?style=flat-square&maxAge=3600"></a> src="https://img.shields.io/david/thelounge/thelounge.svg?style=flat-square&maxAge=3600"></a>

View File

@ -1,34 +0,0 @@
---
# http://www.appveyor.com/docs/appveyor-yml
# Build version format
version: "{build}"
# Do not build on tags (GitHub only)
skip_tags: true
# Do not build feature branch with open pull requests
skip_branch_with_pr: true
environment:
nodejs_version: '6'
install:
- ps: Install-Product node $env:nodejs_version
- yarn --frozen-lockfile
- yarn build
- yarn add mocha-appveyor-reporter
- ps: (gc test/mocha.opts) -replace 'dot', 'mocha-appveyor-reporter' | sc test/mocha.opts
- ps: (gc test/mocha-webpack.opts) -replace 'dot', 'mocha-appveyor-reporter' | sc test/mocha-webpack.opts
test_script:
- node --version
- yarn --version
- yarn test
# cache npm modules
cache:
- "%LOCALAPPDATA%\\Yarn"
# Don't actually build
build: off