Daniel Zlotin 8 anos atrás
pai
commit
9483f15290
1 arquivos alterados com 7 adições e 9 exclusões
  1. 7
    9
      .travis.yml

+ 7
- 9
.travis.yml Ver arquivo

9
   only:
9
   only:
10
   - master
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
 cache:
12
 cache:
21
   directories:
13
   directories:
22
   - $HOME/.yarn-cache
14
   - $HOME/.yarn-cache
23
 
15
 
24
 install:
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