-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
72 lines (58 loc) · 1.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
sudo: required
language: node_js
# test on two node.js versions: 0.6 and 0.8
node_js:
- "6"
# services:
# - docker
before_install:
#Install cloudfoundry
- bash bin/setup.sh
# Pull container.
# - sudo apt-get -qq update
# - 'docker pull webdevops/ansible:alpine-3'
# - sudo apt-get install ansible
- bash bin/ansibleSetup.sh
# - sudo apt-get install python-virtualenv
script:
- npm test
after_success:
- npm build
# - docker run -t webdevops/ansible:alpine-3 ansible --help
# deploy:
# #provide: ansible?
# provider: script
# skip_cleanup: true
# script:
# # - bin/deploy2bm.sh
# - bin/moveOver.sh
#
# on:
# branch: testTravis
# configure notifications (email, IRC, campfire etc)
# please update this section to your needs!
#notifications:
# irc: "irc.freenode.org#travis"
deploy:
- provider: script
skip_cleanup: true
script:
- bin/copy2S3.sh
on:
all_branches: true
- provider: s3
bucket: "thetodd"
skip_cleanup: true
local_dir: ./s3
# - provider: script
# <TOWER STUFF HERE>
on:
all_branches: true
- provider: script
skip_cleanup: true
script:
- bin/moveOver.sh
on:
all_branches: true
after_deploy:
- bin/afterDeploy.sh