Skip to content

Commit 6152cd3

Browse files
committed
Update travis to support release builds
1 parent b2f56d6 commit 6152cd3

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

.travis.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,36 @@ language: node_js
22
dist: trusty
33
sudo: true
44
node_js:
5-
- '8'
6-
- '9'
7-
- '10'
5+
- '8'
6+
- '9'
7+
- '10'
8+
89
addons:
910
firefox: latest
11+
12+
install:
13+
- npm install
14+
1015
before_script:
1116
- export DISPLAY=:99.0
1217
- sh -e /etc/init.d/xvfb start
13-
after_success:
14-
- npm run coveralls
18+
19+
script:
20+
- npm run-script build
21+
#after_success:
22+
# - npm run coveralls
23+
1524
email:
1625
on_failure: change
1726
on_success: never
27+
28+
deploy:
29+
provider: releases
30+
file:
31+
- dist/pdf-annotate.js
32+
on:
33+
tags: true
34+
node: '8'
35+
repo: Submitty/pdf-annotate.js
36+
api_key:
37+
secure: WGShh0arDdVd4UNWPtT29xXIehxJR4maAStcoLOea6JMZnGVjrqkcfWbLRwqM7du/ymOhpAFX5R14lVJQzLB6DNOw0QAJ0cbdMdOuHIkvyLeb/YiovycBTNUkCpbQvDKmfqaaebFFHGU6PBVXrCmpylyZODesA8Wr+rTc7A9BlFEUjK+DLVvhTxMf/WK87P13aMRsQ70F4MQbQnpW+xhY+i8ET6Tm94KSopEsDxGly4oWkXsu1aKm52mD4ksKTO4RX9fD5ByQgCRoYlPT70sm0NBCOCd3cxeXPDX7akjDWNQ1tnkUvlacrRExmBYffXnGBBMLcqv2Kg9CqU1efRUnRQY/0skD2fDjgsjo7s8Cn+I+BOnMuJI4SkvY0M+IMB9+xbu17VZ+7vI7uaWevA5AyB5a0zQMKUqv2GxyORPiw9RlEE7EjMh7TUbal/nmsxthIFQXP0zMlsBwob7iqNSE6x2RBUXS+n/iaedszg17Xy1Um7d6acPWZ4ZgcdAIKbyyGMjyukS/GMfusSIxzN3K1XnK5+swmtaQ1aJdJJWyBCJlfp3Ht2afH/2DNBBvt4LLnGeTzi7ybvn3kcaPoWeAKiQc70VjrS6o2gfKVjcbpQT20/Jd8VY6PsdgzNSNw2qkyxykhD+Rf0fV1ljCJMxCFDJG40SU5kLga9MELV+Z+4=

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# pdf-annotate.js
22

3-
[![build status](https://img.shields.io/travis/mzabriskie/pdf-annotate.js.svg?style=flat-square)](https://travis-ci.org/mzabriskie/pdf-annotate.js)
4-
[![code coverage](https://img.shields.io/coveralls/mzabriskie/pdf-annotate.js.svg?style=flat-square)](https://coveralls.io/r/mzabriskie/pdf-annotate.js)
3+
[![build
4+
status](https://img.shields.io/travis/com/Submitty/pdf-annotate.js.svg?style=flat-square)](https://travis-ci.com/Submitty/pdf-annotate.js)
5+
6+
<!---
7+
[![code
8+
coverage](https://img.shields.io/coveralls/mzabriskie/pdf-annotate.js.svg?style=flat-square)](https://coveralls.io/r/mzabriskie/pdf-annotate.js)
9+
-->
510

611
Annotation layer for [pdf.js](https://github.com/mozilla/pdf.js)
712

@@ -38,17 +43,17 @@ PDFJS.getDocument(RENDER_OPTIONS.documentId).then((pdf) => {
3843
});
3944
```
4045

41-
See more [examples](https://github.com/mzabriskie/pdf-annotate.js/tree/master/examples).
46+
See more [examples](https://github.com/Submitty/pdf-annotate.js/tree/master/examples).
4247

4348
## Documentation
4449

45-
[View the docs](https://github.com/mzabriskie/pdf-annotate.js/tree/master/docs).
50+
[View the docs](https://github.com/Submitty/pdf-annotate.js/tree/master/docs).
4651

4752
## Developing
4853

4954
```bash
5055
# clone the repo
51-
$ git clone https://github.com/mzabriskie/pdf-annotate.js.git
56+
$ git clone https://github.com/Submitty/pdf-annotate.js.git
5257
$ cd pdf-annotate.js
5358

5459
# intall dependencies

0 commit comments

Comments
 (0)