Daniel Zlotin 8 gadus atpakaļ
vecāks
revīzija
9483f15290
1 mainītis faili ar 7 papildinājumiem un 9 dzēšanām
  1. 7
    9
      .travis.yml

+ 7
- 9
.travis.yml Parādīt failu

@@ -9,17 +9,15 @@ branches:
9 9
   only:
10 10
   - master
11 11
 
12
-before_install:
13
-  # Repo for newer Node.js versions
14
-  - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
15
-  # Repo for Yarn
16
-  - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
17
-  - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
18
-  - sudo apt-get update -qq
19
-  - sudo apt-get install -y -qq yarn
20 12
 cache:
21 13
   directories:
22 14
   - $HOME/.yarn-cache
23 15
 
24 16
 install:
25
-  - yarn install
17
+  - npm i -g yarn
18
+  - yarn
19
+
20
+script:
21
+  - npm run build
22
+  - npm run test
23
+  - npm run release