Skip to content

Commit fa96a7a

Browse files
Merge branch 'main' into reorderSteps
2 parents 074c5ac + b7eb9cf commit fa96a7a

File tree

19 files changed

+3723
-2004
lines changed

19 files changed

+3723
-2004
lines changed

.gitpod.dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM gitpod/workspace-full
2+
3+
USER root
4+
RUN sudo apt-get update && apt-get install -y apt-transport-https \
5+
&& sudo apt-get install -y \
6+
xserver-xorg-dev libxext-dev libxi-dev build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config libglu1-mesa-dev freeglut3-dev mesa-common-dev \
7+
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*

.gitpod.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
image:
2+
file: .gitpod.dockerfile
3+
tasks:
4+
- init: npm run setup
5+
command: npm start
6+
ports:
7+
- port: 3000
8+
onOpen: open-preview
9+
10+
github:
11+
prebuilds:
12+
branches: true
13+
pullRequests: true
14+
pullRequestsFromForks: true
15+
addCheck: true
16+
addComment: true
17+
addBadge: false
18+
addLabel: false

.travis.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
sudo: required
22
language: node_js
33
node_js:
4-
- '8'
54
- '10'
5+
- '12'
66
env:
77
- CXX=g++-4.8
88
before_script:
99
- npm install grunt-cli -g # for "grunt build"
1010
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1111
- chmod +x ./cc-test-reporter
1212
- ./cc-test-reporter before-build
13-
script:
14-
- npm test
15-
- npm run benchmark
16-
- npm run gif-test
17-
- grunt tests
18-
- npm run core-tests
19-
- npm run test-ui
20-
- npm run test-ui-2
21-
- grunt build
13+
jobs:
14+
include:
15+
- name: "Base istanbul/tape node tests"
16+
script: npm test
17+
- name: "Benchmark tests"
18+
script: npm run benchmark
19+
- name: "Gif tests"
20+
script: npm run gif-test
21+
- name: "Browserify core tests and run"
22+
script: grunt tests && npm run core-tests
23+
- name: "Jasmine UI tests (mocked browser env)"
24+
script: npm run test-ui
25+
- name: "jest-puppeteer UI tests (full browser env)"
26+
script: npm run test-ui-2
27+
- name: "Grunt build test of dev environment"
28+
script: grunt build
2229
after_success:
2330
- bash <(curl -s https://codecov.io/bash)
2431
after_script:

Gruntfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@ module.exports = function(grunt) {
4444
dest: 'dist/image-sequencer-ui.brow.js'
4545
},
4646
tests: {
47-
src: ['test/core/sequencer/meta-modules.js', 'test/core/sequencer/image-sequencer.js', 'test/core/sequencer/chain.js', 'test/core/sequencer/replace.js', 'test/core/sequencer/import-export.js', 'test/core/sequencer/run.js', 'test/core/sequencer/dynamic-imports.js', 'test/core/util/*.js'],
47+
src: ['test/core/sequencer/meta-modules.js',
48+
'test/core/sequencer/image-sequencer.js',
49+
'test/core/sequencer/chain.js',
50+
'test/core/sequencer/replace.js',
51+
'test/core/sequencer/import-export.js',
52+
'test/core/sequencer/run.js',
53+
'test/core/sequencer/dynamic-imports.js',
54+
'test/core/util/*.js'],
4855
dest: './output/core-tests.js'
4956
}
5057
},

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ Image Sequencer
22
====
33

44
[![Code of Conduct](https://img.shields.io/badge/code-of%20conduct-green.svg)](https://publiclab.org/conduct)
5+
[![npm version](https://badge.fury.io/js/image-sequencer.svg)](https://badge.fury.io/js/image-sequencer)
56
[![Build Status](https://travis-ci.org/publiclab/image-sequencer.svg?branch=master)](https://travis-ci.org/publiclab/image-sequencer) [![Maintainability](https://api.codeclimate.com/v1/badges/5906996dd2e90aca6398/maintainability)](https://codeclimate.com/github/publiclab/image-sequencer/maintainability) [![Codecov](https://img.shields.io/codecov/c/github/publiclab/image-sequencer.svg?logo=codecov)](https://codecov.io/gh/publiclab/image-sequencer)
7+
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/publiclab/image-sequencer/)
68

79
- **Latest Stable Demo**: https://sequencer.publiclab.org
810
- **Latest Beta Demo**: https://beta.sequencer.publiclab.org
@@ -71,6 +73,12 @@ In case of a port conflict please run the following
7173
npm i -g http-server ; http-server -p 3000
7274
```
7375

76+
### Online one-click setup for contributing
77+
78+
Contribute to ImageSequencer using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the webserver.
79+
80+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
81+
7482
### Browser
7583

7684
Just include [image-sequencer.min.js](https://github.com/publiclab/image-sequencer/blob/stable/dist/image-sequencer.min.js) in the Head section of your web page. See the [demo here](https://sequencer.publiclab.org)!
@@ -612,4 +620,4 @@ Modules that do not work:
612620
5. Text Overlay (Almost fixed)
613621
6. Blend
614622
7. Histogram
615-
8. WebGL Distort
623+
8. WebGL Distort

examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ <h2 style="margin-top:20px">Save</h2>
218218
<h2>Need Help?</h2>
219219
<p>
220220
<a class="btn btn-default" href="https://github.com/publiclab/image-sequencer/issues">Ask a question</a>
221-
<a class="btn btn-default" href="https://publiclab.org/chat">Ask in our chatroom</a>
221+
<a class="btn btn-default" href="https://gitter.im/publiclab/image-sequencer" target="_blank">Ask in our chatroom </a>
222222
</p>
223223
</div>
224224
<div class="col-md-6">

0 commit comments

Comments
 (0)