Skip to content

Commit aa476c6

Browse files
committed
Fixing Version Issues
Added Travis Builds Added Build Build Fix Deployment Debugging Travis Debugging Travis
1 parent 67ef607 commit aa476c6

File tree

4 files changed

+40
-32
lines changed

4 files changed

+40
-32
lines changed

.travis.yml

+24-20
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
language: bash
22
sudo: required
3-
43
services:
5-
- docker
6-
4+
- docker
75
before_install:
8-
# Docker-Compose ETCD and DIND
9-
- docker-compose -f ./imports/test/docker-compose.yml up -d
10-
11-
# Start TuxLab Proxy
12-
- docker -H tcp://localhost:2375 run --net=host -v $PWD/imports/test/docker/proxy-settings.json:/usr/lib/tuxlab/settings.json:ro -v $PWD/imports/test/docker/snakeoil.key:/usr/lib/tuxlab/ssl/host.key:ro tuxlab/ssh-proxy
13-
14-
# Get LabVM Images
15-
- docker -H tcp://localhost:2375 pull tuxlab/labvm-alpine
16-
17-
# Install Meteor
18-
- curl https://install.meteor.com | /bin/sh
19-
- export PATH="$HOME/.meteor:$PATH"
6+
- docker-compose -f ./imports/test/docker-compose.yml up -d
7+
- docker -H tcp://localhost:2375 run --net=host -v $PWD/imports/test/docker/proxy-settings.json:/usr/lib/tuxlab/settings.json:ro
8+
-v $PWD/imports/test/docker/snakeoil.key:/usr/lib/tuxlab/ssl/host.key:ro tuxlab/ssh-proxy
9+
- docker -H tcp://localhost:2375 pull tuxlab/labvm-alpine
10+
- curl https://install.meteor.com | /bin/sh
11+
- export PATH="$HOME/.meteor:$PATH"
2012

2113
install:
22-
- meteor npm install
14+
- meteor npm install
2315

2416
script:
25-
- meteor npm test --settings ./private/settings.json
17+
- meteor npm test --settings ./private/settings.json
18+
19+
before_deploy:
20+
- mkdir -p /tmp/tuxlab-${TRAVIS_TAG}
21+
- meteor build /tmp/tuxlab-${TRAVIS_TAG}
22+
23+
deploy:
24+
provider: releases
25+
api_key:
26+
secure: 2cm2u+wDMpfRL7+CL+dGfoAEApQnIW44nMjhHnlqo1wvznc4cuvXD7NVlFt03XcODFxi3eFTwd8d7ol3leWwqdnt2kmd/Nw6miGAhXaEt/HJ8QFC6nmBBJ2uGnKY/pzHwvK0FRs5L0lr4YNnUfdR8Jr/12bmhk6yAW6kA5WvbWbVO7yf1Gg9z1AKoxEwMbqrOdUFp/ToD7sSA/pxnMjDHpvHqZf3ubMtr4be1KugaxLylnEXrgkN1wcIeeeGhBEf5q8ft4Dv1I6LFMgAGo5K2E/xNJsjfDgnYNARD4wGljexVKzhx2ww/UhlVPNcEQQNdvjBb+AvfQfiR+V7uGAswEpxk9wXsDyaKB/KfDqZuo6bR52ISOV6UUdOXtSbK9t4qqgR5Kn7yiy+VW4OBmsh0fHzcETCnDcwey6x+7tRNDc3F1xYtInNZNPHQXCGxRBiq0XgU4jcvzNroZRL34q0GRzEz5Mp0xQJ2vgJHbOYdtuzKm2lxIeXUbvedm0atzoHdnOrsTyB4ZKMRXSmfc5FbsxutNXvn61/62ljy0G9jvRu0sNkrD1RM4LOfrtFp0B8imizxSCZI7C8wsD/bjGnvHqftpthW+idJm1UEJkiCngIs61gRTqJVloTeL+JFD98M4OIagp9BWmYr+87TFDu65b/hppU4oJ29hbLrhcKrBs=
27+
file: "/tmp/tuxlab-${TRAVIS_TAG}/tuxlab-app.tar.gz"
28+
skip_cleanup: true
29+
on:
30+
tags: true
2631

2732
cache:
2833
directories:
29-
- node_modules
30-
34+
- node_modules
3135
notifications:
3236
webhooks:
3337
urls:
34-
- https://webhooks.gitter.im/e/522ca26d625961d84e24
38+
- https://webhooks.gitter.im/e/522ca26d625961d84e24

imports/test/fixtures/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Imports
77
import * as _ from "lodash";
88
import { Meteor } from 'meteor/meteor';
9+
import { Accounts } from 'meteor/accounts-base';
910

1011
// Collections Objects
1112
import { Sessions } from '../../../both/collections/session.collection';

input.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
! TRAVIS input file
2+
! Created with TRAVIS version compiled at Sep 28 2017 15:03:28
3+
! Input file written at Thu Sep 28 15:13:16 2017.

package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
"typings": "^2.1.1"
3030
},
3131
"dependencies": {
32-
"@angular/animations": "^4.3.1",
33-
"@angular/cdk": "^2.0.0-beta.8",
34-
"@angular/common": "^4.3.1",
35-
"@angular/compiler": "^4.3.1",
36-
"@angular/core": "^4.3.1",
37-
"@angular/flex-layout": "^2.0.0-beta.8",
38-
"@angular/forms": "^4.3.1",
39-
"@angular/http": "^4.3.1",
40-
"@angular/material": "^2.0.0-beta.8",
41-
"@angular/platform-browser": "^4.3.1",
42-
"@angular/platform-browser-dynamic": "^4.3.1",
43-
"@angular/router": "^4.3.1",
32+
"@angular/animations": "4.3.6",
33+
"@angular/cdk": "2.0.0-beta.10",
34+
"@angular/common": "4.3.6",
35+
"@angular/compiler": "4.3.6",
36+
"@angular/core": "4.3.6",
37+
"@angular/flex-layout": "2.0.0-beta.9",
38+
"@angular/forms": "4.3.6",
39+
"@angular/http": "4.3.6",
40+
"@angular/material": "2.0.0-beta.10",
41+
"@angular/platform-browser": "4.3.6",
42+
"@angular/platform-browser-dynamic": "4.3.6",
43+
"@angular/router": "4.3.6",
4444
"adm-zip": "^0.4.7",
4545
"angular-sortablejs": "^2.0.6",
4646
"angular2-markdown": "^1.6.0",

0 commit comments

Comments
 (0)