From b8f0a4601c97e26e232c0dbbc6da07ae61d5208d Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 11 Oct 2018 23:19:15 +0300 Subject: [PATCH] Enable macOS and Windows builds on Travis, remove AppVeyor config --- .travis.yml | 14 ++++++++++++-- README.md | 7 ++----- appveyor.yml | 34 ---------------------------------- 3 files changed, 14 insertions(+), 41 deletions(-) delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index 7d1eaf36..95cf1647 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,20 @@ node_js: - 8 # EOL: December 2019 - 6 # EOL: April 2019 +os: + - linux + matrix: fast_finish: true 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 cache: yarn @@ -18,7 +28,7 @@ before_script: - NODE_ENV=$BUILD_ENV yarn build install: - - yarn --frozen-lockfile + - yarn --frozen-lockfile --non-interactive --network-timeout 300000 notifications: email: diff --git a/README.md b/README.md index 658ca7da..17cc3bd6 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,9 @@ npm version - Travis CI Build Status - AppVeyor Build Status + src="https://img.shields.io/travis/com/thelounge/thelounge/master.svg?style=flat-square&maxAge=60"> Dependencies Status diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 9a401ad0..00000000 --- a/appveyor.yml +++ /dev/null @@ -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