File tree Expand file tree Collapse file tree 3 files changed +17
-25
lines changed Expand file tree Collapse file tree 3 files changed +17
-25
lines changed Original file line number Diff line number Diff line change 7
7
8
8
set -ev
9
9
10
+ docker build -t apinf/platform:$DOCKER_TAG .
11
+
10
12
if [ " ${TRAVIS_PULL_REQUEST} " = " false" -a " ${TRAVIS_REPO_SLUG} " = " apinf/platform" ]
11
13
then
12
- docker build -t apinf/platform:$DOCKER_TAG .
13
- docker login -u=" $DOCKER_USERNAME " -p=" $DOCKER_PASSWORD "
14
- docker push apinf/platform:$DOCKER_TAG
14
+ docker login -u=" $DOCKER_USERNAME " -p=" $DOCKER_PASSWORD "
15
+ docker push apinf/platform:$DOCKER_TAG
15
16
fi
Original file line number Diff line number Diff line change 1
- sudo : false
2
-
3
- group : deprecated-2017Q4
1
+ dist : xenial
4
2
5
3
language : node_js
6
4
node_js :
7
5
- ' 8'
8
6
9
- addons :
10
- apt :
11
- sources :
12
- - ubuntu-toolchain-r-test
13
- packages :
14
- - g++-4.8
7
+ addons :
15
8
chrome : stable
16
9
17
10
branches :
@@ -21,40 +14,36 @@ branches:
21
14
before_cache :
22
15
- rm -f $HOME/.meteor/log/*.log
23
16
24
- cache :
25
- yarn : true
26
- directories :
27
- - $HOME/.meteor
28
-
29
17
services :
30
18
- docker
19
+ - xvfb
31
20
32
21
before_install :
33
22
- ls -la
23
+ - sudo apt-get update
24
+ - sudo apt-get install g++ build-essential xvfb
25
+
34
26
# Install meteor locally on CI
35
27
- if [ ! -e "$HOME/.meteor/meteor" ]; then cat .travis_install_meteor | sed s/--progress-bar/-sL/g | /bin/sh; fi
36
28
37
29
38
30
before_script :
39
31
# Previously used yarn, but now after migrating to meteor 1.8, yarn fails to create some binaries.
40
32
- meteor npm install
41
- - yarn run lint
33
+ - npm run lint
42
34
- npm view chimp version
43
35
- npm view chromedriver version
44
- # Start X Virtual Frame Buffer for headless testing with real browsers
45
- - ./.scripts/start-xvfb.sh
46
-
36
+
47
37
install :
48
38
- export PATH="$HOME/.meteor:$PATH"
49
39
50
40
script :
51
41
# Run meteor and chimp from node.js
52
- - travis_retry yarn test
42
+ - travis_retry npm run test
53
43
# Build docker image
54
44
- ./.scripts/docker_build.sh
55
45
56
46
env :
57
47
global :
58
48
- DISPLAY=:99.0
59
- - TEST_MODE : " true"
60
- - CXX=g++-4.8
49
+ - TEST_MODE : " true"
Original file line number Diff line number Diff line change 1
1
# A base Docker image for Meteor applications. https://hub.docker.com/r/jshimko/meteor-launchpad/
2
- FROM jshimko/meteor-launchpad:latest
2
+ # FROM jshimko/meteor-launchpad:latest - jessie deps
3
+ # FROM abernix/meteord:onbuild - is not starting
4
+ FROM pixolution/meteor-launchpad:v2.3.1
3
5
# the version (that bit after :) is dependent somehow on meteor versions. it used to be 1.1.1 but now as we go for Meteor 1.8, let's use latest.
4
6
# If you get in trouble with starting Meteor, this might be something to look at
5
7
MAINTAINER apinf <info@apinf.io>
You can’t perform that action at this time.
0 commit comments