Skip to content

Commit c718ce5

Browse files
fix(travis): regenerate and encrypt secret
Closes #3575
1 parent 37cc961 commit c718ce5

File tree

1 file changed

+21
-30
lines changed

1 file changed

+21
-30
lines changed

.travis.yml

+21-30
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,28 @@
11
language: node_js
22
node_js:
3-
- "6.9.2"
4-
5-
#cache:
6-
# directories:
7-
# - $HOME/.npm
8-
# - $HOME/.yarn-cache
9-
# - node_modules
10-
3+
- 6.9.2
114
before_install:
12-
- time npm i -g yarn
13-
5+
- time npm i -g yarn
146
install:
15-
- time yarn > /dev/null
16-
7+
- time yarn > /dev/null
178
before_script:
18-
- export DISPLAY=:99.0
19-
- sh -e /etc/init.d/xvfb start
20-
- ./nodeserver.sh > /dev/null &
21-
9+
- export DISPLAY=:99.0
10+
- sh -e /etc/init.d/xvfb start
11+
- "./nodeserver.sh > /dev/null &"
2212
script:
23-
- echo "CORE_BRANCH = x${CORE_BRANCH}x";
13+
- echo "CORE_BRANCH = x${CORE_BRANCH}x";
2414
# Fetch and build the @uirouter/core branch from github, then install it
2515
- >
26-
if [ "x${CORE_BRANCH}x" != "xx" ] ; then
27-
echo "Installing @uirouter/core from ${CORE_BRANCH}" && \
28-
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git @uirouter/core && \
29-
pushd @uirouter/core && \
30-
yarn > /dev/null && \
31-
yarn build && \
32-
popd && \
33-
npm install ./@uirouter/core ;
34-
fi
35-
- tsc && npm test
16+
if [ "x${CORE_BRANCH}x" != "xx" ] ; then
17+
echo "Installing @uirouter/core from ${CORE_BRANCH}" && \
18+
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git @uirouter/core && \
19+
pushd @uirouter/core && \
20+
yarn > /dev/null && \
21+
yarn build && \
22+
popd && \
23+
npm install ./@uirouter/core ;
24+
fi
25+
- tsc && npm test
3626

3727
matrix:
3828
allow_failures:
@@ -42,16 +32,17 @@ env:
4232
matrix:
4333
# CORE_BRANCH env variable specifies the branch of @uirouter/core to use during build/test
4434
# Each CORE_BRANCH listed here will trigger a SEPARATE job in travis
45-
- CORE_BRANCH=master
35+
- CORE_BRANCH=master
4636

4737
# If CORE_BRANCH is empty, it will use the @uirouter/core from npm dependencies
4838
# (as specified in package.json)
49-
- CORE_BRANCH=
39+
- CORE_BRANCH=
5040

5141
sudo: false
5242

5343
git:
5444
depth: 3
5545

5646
notifications:
57-
slack: angularbuddies:b6leQM9gkBCW0S7MNDsELpqU
47+
slack:
48+
secure: LqlW9u5Lyh7eHffLqfrIEyIdpqJmPg29NQHqjM6ij2BUFOs9se+NgpRagfICukCEMimOdzEiIE6S4DXNhCcy6hoA24cpswb84vHRuZ4pFz8USq13rX72AgygR1tPKB9sbXLp+XIjRaLPO5z8asECCr7jxSCpMvHRylPAGL4DduI=

0 commit comments

Comments
 (0)