-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy path.travis copy.yml
32 lines (26 loc) · 1.03 KB
/
.travis copy.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
dist: trusty
sudo: required
env:
matrix:
- OS=ubuntu DIST=trusty
- OS=ubuntu DIST=xenial
- OS=ubuntu DIST=bionic
- OS=ubuntu DIST=cosmic
- OS=ubuntu DIST=disco
- OS=ubuntu DIST=eoan
- OS=debian DIST=jessie
- OS=debian DIST=stretch
- OS=debian DIST=buster
before_script:
- sudo echo $NVM_DIR
- sudo echo $(/etc/os_release)
- sudo apt -y install libstdc++6
- sudo rm -rf $NVM_DIR ~/.npm ~/.bower
- sudo echo $(node -v)
- sudo echo $TRAVIS_DIST $DIST
- if [ "$DIST" = "trusty" ]; then echo "VERSION_ID=\"8\"" | sudo tee /etc/os-release ; curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - ; fi
- if [ "$DIST" = "jessie" ]; then echo "VERSION_ID=\"8\"" | sudo tee /etc/os-release ; curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - ; fi
- cat /etc/os-release | grep VERSION_ID | cut -d '"' -f 2
script:
- curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered > nr.sh
- echo y | bash nr.sh