Skip to content
This repository was archived by the owner on Jan 14, 2023. It is now read-only.

Commit fc81391

Browse files
authored
Merge pull request #7 from Spring3/feature/update
Fix unhandled promise rejection setup and travis ci
2 parents cf00502 + de590ee commit fc81391

27 files changed

+915
-102
lines changed

.travis.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
matrix:
22
include:
3-
- os: osx
4-
osx_image: xcode9.4
5-
language: node_js
6-
node_js: "10"
7-
env:
8-
- CSC_IDENTITY_AUTO_DISCOVERY=false
9-
- ELECTRON_CACHE=$HOME/.cache/electron
10-
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
11-
123
- os: linux
134
services: docker
145
language: generic
6+
env:
7+
- ELECTRON_CACHE=$HOME/.cache/electron
8+
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
9+
1510

1611
cache:
1712
directories:
@@ -21,24 +16,19 @@ cache:
2116

2217
script:
2318
- |
24-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
2519
docker run -d -t --name 'electron-builder' --rm \
26-
$(env | \
27-
grep -Eo '^[^\s=]*(DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_)[^\s=]*' | \
28-
sed '/^$/d;s/^/-e /' | \
29-
paste -sd ' ' \
30-
) \
20+
--env-file <(env | grep -vE '\r|\n' | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \
3121
-v ${PWD}:/project \
3222
-v ~/.cache/electron:/root/.cache/electron \
3323
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
3424
electronuserland/builder:wine
3525
docker exec -u root electron-builder bash -c "apt-get install --no-install-recommends -y gcc-multilib g++-multilib"
36-
docker exec electron-builder bash -c "npm i && npm run release -- -wl"
26+
if [ "$TRAVIS_BRANCH" == "master" ]; then
27+
docker exec electron-builder bash -c "npm i && npm run release:ci -- -wl --ia32 --x64"
28+
else
29+
docker exec electron-builder bash -c "npm i && npm run build -- -wl --ia32 --x64"
30+
fi
3731
docker stop electron-builder
38-
else
39-
npm i
40-
npm run release
41-
fi
4232
before_cache:
4333
- rm -rf $HOME/.cache/electron-builder/wine
4434

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Redshape
2+
3+
[![Build Status](https://travis-ci.com/Spring3/redshape.svg?branch=master)](https://travis-ci.com/Spring3/redshape)
4+
[![CircleCI](https://circleci.com/gh/Spring3/redshape/tree/master.svg?style=svg)](https://circleci.com/gh/Spring3/redshape/tree/master)
5+
6+
A time tracker for [Redmine](https://www.redmine.org) built on [Electron](https://github.com/electron/electron).
7+
8+
Re-designs the way tasks, task info, tracked time and communication is done on redmine.
9+
10+
The project was originally developed for a MVP portfolio showcase, but there is some roadmap planned with new features that might be added once I find enough of free time.
11+
12+
Thanks for using, or considering to use this project. I would love to hear some feedback as well as your suggestions and thoughts about what could be improved. If you have something to say, don't hesitate to [send me an email](mailto:redshape.app@gmail.com).
13+
14+
![Redshape Screenshot](https://user-images.githubusercontent.com/4171202/58926139-bbd6df00-8752-11e9-92bb-ddfdb5bce33d.png)
15+
16+
## Installation
17+
18+
### macOS
19+
Download the latest [Redshape release](https://github.com/Spring3/redshape/releases/latest).
20+
21+
The application will automatically update when a new release is available.
22+
23+
### Windows
24+
Download the latest [Redshape installer](https://github.com/Spring3/redshape/releases).
25+
26+
You can download the .exe installer or the web installer. Both automatically detect the system architecture and set up the correct version.
27+
28+
The application will automatically update when a new release is available.
29+
30+
31+
### Linux
32+
33+
Download the latest [Redshape release](https://github.com/Spring3/redshape/releases/latest).
34+
35+
The application will automatically update when a new release is available.
36+
37+
### License
38+
[GPL-3.0](https://github.com/Spring3/redshape/blob/master/LICENSE.md)
39+
40+
Created by [Daniyil Vasylenko](https://github.com/Spring3)
41+
42+
43+
### FAQ
44+
45+
#### - I try to log in, but it returns an error
46+
[As mentioned in the documentation to Redmine](https://www.redmine.org/projects/redmine/wiki/Rest_api#Authentication), you need to make sure that you enabled the REST API
47+
48+
#### - My antivirus / Defender / Mac OS warns that it's not safe to run this app
49+
Mac OS build was signed by a **self-signed certificate**, while Windows and Linux builds **were not signed at all**. In such case, you will see this warnings upon download or running the application / installation, saying that this app is not safe to run or that it was provided by an unknown developer and is not safe to run.
50+

0 commit comments

Comments
 (0)