Skip to content

Commit

Permalink
V0.0.1 (#129)
Browse files Browse the repository at this point in the history
* Release

* Attempt build version bump

* Attempt build version bump

* npm only
  • Loading branch information
Flaque authored Apr 24, 2018
1 parent ef8447d commit ef224ac
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Release keys
Release.key

# sea-floor
.sea

Expand Down
37 changes: 34 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
osx_image: xcode8.3

dist: trusty

language: node_js
node_js:
- "8"

env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder

os:
- linux
- osx

script:
- yarn
- yarn lint
- yarn test
- npm install
- npm run test
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds

install:
- npm install

script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run release; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run release -- --mac --win; fi

before_cache:
- rm -rf $HOME/.cache/electron-builder/wine

branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"

after_script: "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "Aurora",
"version": "0.0.0",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"dev": "electron-webpack dev",
"dev-log-redux": "cross-env LOG_REDUX=true yarn dev",
"compile": "electron-webpack",
"update-snapshot-tests": "./node_modules/.bin/jest --updateSnapshot",
"test": "cross-env NODE_ENV=test ./node_modules/.bin/jest",
"dist": "yarn compile && electron-builder",
"dist": "yarn compile && electron-builder --prepackaged dist",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"db-down": "node node_modules/db-migrate/bin/db-migrate down --config config/database.json",
"db-up": "node node_modules/db-migrate/bin/db-migrate up --config config/database.json",
Expand All @@ -19,7 +19,8 @@
"add-many-notes": "cross-env NODE_ENV=development babel-node scripts/convert-notes/convert.js scripts/convert-notes/our_large_dataset.json",
"create-note": "cross-env NODE_ENV=development babel-node scripts/create-note/create.js",
"lint": "./node_modules/.bin/eslint src",
"postinstall": "electron-builder install-app-deps"
"postinstall": "electron-builder install-app-deps",
"release": "yarn compile && electron-builder --publish always"
},
"dependencies": {
"@react-mutate/core": "^0.6.0",
Expand Down

0 comments on commit ef224ac

Please sign in to comment.