Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

Commit 54b583d

Browse files
committed
Added travis config to publish to NPM
1 parent 6a40630 commit 54b583d

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

.npmignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
src/main
2+
docs/
3+
pom.xml
4+
5+
.travis.*
6+
travis.log
7+
8+
# Java
9+
target/
10+
.classpath
11+
.project
12+
.settings/

.travis.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
language: java
22
jdk:
3-
- oraclejdk8
3+
- oraclejdk8
44
sudo: false
5+
env:
6+
- NODE_VERSION=8
57
cache:
68
directories:
7-
- $HOME/.m2
8-
install:
9-
- cp .travis.settings.xml $HOME/.m2/settings.xml
10-
script:
11-
- mvn clean deploy
9+
- "$HOME/.m2"
10+
before_install:
11+
- nvm install $NODE_VERSION
12+
install:
13+
- cp .travis.settings.xml $HOME/.m2/settings.xml
14+
before_script:
15+
- npm install
16+
- mvn install
17+
script:
18+
- npm test-graphdoc-build
19+
- mvn deploy
20+
21+
deploy:
22+
provider: npm
23+
24+
api_key:
25+
secure: uIdAosBW9zN12zW+OGWLOlBLBBiYpQGLbZYqRW4YEylnSVmKwsUk2BLV9X4St5XEYrAdGCw+7FDyciXDtc6ojSmKrCN3qApqSmT+UyD1vr+dMv3nS5anNuwUSXOBll2JrckOYBXOC/KtcyJouPEAj1LwlrOUvW3QX3K5LpNjnStdfwoWiO8SMDlJtlqeh8DN0jrbk4Aaow44vmcE6w+n1zNA5Urcgy9IPUPmoH1Y2M0A2ipjZ7rC2hxPT+VkC1skbWtX6+6HQNOXxUDdZPsmTJXBvc99axKSU3sXmeZSVzoeBKrtPDVFgxsNrwG4q2uLFOxah9qvjV80y8O2VCueA+whBEca7bX8bI0kL7RK5k/RmQYCk4MwlGUCEBy/zvTY/fdxt1nEo36HvfjNErzgzWNS5pMkr/84LOZu7u0YsmqMVypu5lUOfcAp0cJtyQUk/ulZIZZo32yw+A88LGQ1324OdNEcpJjqnEB13Eq652Umd3WOhY+DvnpH/ImwRsxy/8tdY67sppErFEeDUJRSom84sF6cTSU/b2zlShBIuIZNjCn/Z1zxMMxDgIavaSrdvrnAXCb9VWayNv2OxAWgDO4ukf05lKVKYxJM7kwApZIcFz7+S80MIsFWYGt6St65iuGaRak+Yq2EmjaIwOWl/6LfeC9exngyM+6p+iyFDyo=
26+
on:
27+
tags: true
28+
repo: CIShell/cibridge

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cibridge-schema",
2+
"name": "@cibridge/schema",
33
"version": "0.1.0",
44
"description": "Cyberinfrastructure Bridge is a GraphQL API for the integration and utilization of datasets, algorithms, tools, and computing resources. AKA CIShell for the Web.",
55
"main": "index.js",

0 commit comments

Comments
 (0)