diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1dde81cb..00000000 --- a/.travis.yml +++ /dev/null @@ -1,63 +0,0 @@ -language: node_js -sudo: required -dist: trusty -os: - - linux - - osx -node_js: 15 - -env: - - CC=clang CXX=clang++ npm_config_clang=1 - -notifications: - email: false - -git: - depth: 10 - -branches: - only: - - master - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - -services: - - docker - -cache: - directories: - - node_modules - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - xvfb - - gnome-keyring - - libsecret-1-dev - - python-gnomekeyring - -before_script: - - | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - dbus-launch /usr/bin/python -c \ - "import gnomekeyring;gnomekeyring.create_sync('login', '');" - fi - -install: - - npm install - -script: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then xvfb-run ./script/cibuild; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm test; fi - - npm run prebuild-node - - npm run prebuild-electron - - | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - mkdir -p prebuilds && chmod 777 prebuilds - docker build -t node-keytar/i386 docker/i386 - docker run --rm -v ${PWD}:/project node-keytar/i386 /bin/bash -c "cd /project && npm run prebuild-node-ia32 && npm run prebuild-electron-ia32 && rm -rf build" - docker build -t node-keytar/arm64-cross-compile docker/arm64-cross-compile - docker run --rm -v ${PWD}:/project node-keytar/arm64-cross-compile /bin/bash -c "cd /project && npm run prebuild-electron-arm64" - fi - - if [[ -n "$TRAVIS_TAG" ]]; then npm run upload; fi diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 2a85a35a..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,33 +0,0 @@ -version: "{build}" - -image: Visual Studio 2017 -platform: - - x64 - -environment: - nodejs_version: "15" - -cache: - - node_modules - -branches: - only: - - /master|^v\d+\.\d+\.\d+?(-\S*)?$/ - -clone_depth: 10 - -install: - - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM - - npm install - -build_script: - - npm test - - npm run prebuild-node - - npm run prebuild-node-ia32 - - npm run prebuild-electron - - npm run prebuild-electron-ia32 - - npm run prebuild-electron-arm64 - - if defined APPVEYOR_REPO_TAG_NAME (npm run upload) - -test: off -deploy: off