mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 13:03:22 +00:00
CI: Clean unused steps from CI configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -1,6 +1,3 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
os:
|
||||
- osx
|
||||
- linux
|
||||
@@ -18,20 +15,9 @@ node_js:
|
||||
- '10'
|
||||
- '12'
|
||||
|
||||
before_install:
|
||||
- ./scripts/travis-xvfb.sh
|
||||
- npm install -g gulp
|
||||
- npm ci
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
script:
|
||||
- npm run travis
|
||||
notifications:
|
||||
webhooks:
|
||||
urls:
|
||||
- https://zulip.org/zulipbot/travis
|
||||
on_success: always
|
||||
on_failure: always
|
||||
- npm run test
|
||||
|
||||
@@ -14,8 +14,7 @@ install:
|
||||
- node --version
|
||||
- npm --version
|
||||
- python --version
|
||||
- npm install
|
||||
- npm install -g gulp
|
||||
- npm ci
|
||||
|
||||
build: off
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
"pack": "tsc && electron-builder --dir",
|
||||
"dist": "tsc && electron-builder",
|
||||
"mas": "tsc && electron-builder --mac mas",
|
||||
"travis": "cd ./scripts && ./travis-build-test.sh",
|
||||
"build-locales": "node tools/locale-helper"
|
||||
},
|
||||
"pre-commit": [
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# exit script if fails
|
||||
set -e;
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
export {no_proxy,NO_PROXY}="127.0.0.1,localhost"
|
||||
export DISPLAY=:99.0
|
||||
sh -e /etc/init.d/xvfb start
|
||||
sleep 3
|
||||
|
||||
echo 'Travis Screen Resolution:'
|
||||
xdpyinfo | grep dimensions
|
||||
fi
|
||||
|
||||
npm run test
|
||||
|
||||
# if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
# npm run test-e2e
|
||||
# fi
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
|
||||
fi
|
||||
Reference in New Issue
Block a user