File tree 4 files changed +88
-37
lines changed
4 files changed +88
-37
lines changed Original file line number Diff line number Diff line change
1
+ lts/*
Original file line number Diff line number Diff line change 1
1
language : python
2
2
sudo : false
3
- dist : trusty
3
+
4
4
cache :
5
- - apt
6
- - pip
5
+ - packages
6
+ - pip
7
+
7
8
addons :
8
9
apt :
9
10
sources :
10
- - google-chrome
11
+ - google-chrome
11
12
packages :
12
- - google-chrome-stable
13
+ - google-chrome-stable
13
14
python :
14
- - ' 3.6'
15
+ - " 3.6"
15
16
env :
16
17
global :
17
- - CHROME_DRIVER_VERSION=2.36
18
+ - CHROME_DRIVER_VERSION=2.36
18
19
matrix :
19
- - DJANGO=111
20
- - DJANGO=20
21
- - DJANGO=21
22
- - DJANGO=master
23
- - TOXENV=qa
20
+ - DJANGO=111
21
+ - DJANGO=20
22
+ - DJANGO=21
23
+ - DJANGO=master
24
+ - TOXENV=qa
24
25
matrix :
25
26
fast_finish : true
26
27
allow_failures :
27
- - env : DJANGO=master
28
+ - env : DJANGO=master
28
29
install :
29
- - pip install -qU pip tox codecov
30
+ - pip install -qU pip tox codecov
31
+ - npm install --dev
30
32
before_script :
31
- - mkdir bin
32
- - curl -O https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip
33
- - unzip chromedriver_linux64.zip -d bin
34
- - PATH=$PATH:$PWD/bin
35
- - |
36
- if [[ -z $TOXENV ]]; then
37
- export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
38
- fi
39
- - echo $TOXENV
33
+ - mkdir bin
34
+ - curl -O https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip
35
+ - unzip chromedriver_linux64.zip -d bin
36
+ - PATH=$PATH:$PWD/bin
37
+ - |
38
+ if [[ -z $TOXENV ]]; then
39
+ export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
40
+ fi
41
+ - echo $TOXENV
40
42
script :
41
- - tox -e $TOXENV
42
- after_success :
43
- - codecov
44
- deploy :
45
- provider : pypi
46
- user : codingjoe
47
- password :
48
- secure : OzNShO+N3zL3LIyJ7Fu/TFgJTaI+FlZxLItjPTu5tAfvrxPWmKXJkA7b8znx5O2w0kSynk0R1Ddyd6Ri4AIyS5SGm2ZbvrTyIpaXPvWMBl1o8X/nH14f61HP2piEtnk24FBLTbublgC9N1G4w/166jAwv2dxS9aWJGioAlSOgH8=
49
- on :
50
- tags : true
51
- distributions : sdist bdist_wheel
52
- repo : codingjoe/django-s3file
43
+ - tox -e $TOXENV
44
+ after_success : codecov
45
+
46
+ stages :
47
+ - test
48
+ - name : deploy
49
+ if : tag is present
50
+
51
+ jobs :
52
+ include :
53
+ - language : node_js
54
+ addons : {}
55
+ install : npm install --dev
56
+ script : npm test
57
+ node_js : lts/*
58
+ cache : npm
59
+ - stage : deploy
60
+ python : " 3.7"
61
+ install : skip
62
+ script : skip
63
+ after_success : true
64
+ deploy :
65
+ provider : pypi
66
+ distributions : sdist bdist_wheel
67
+ on :
68
+ tags : true
69
+ repo : codingjoe/django-s3file
70
+ user : codingjoe
71
+ password :
72
+ secure : OzNShO+N3zL3LIyJ7Fu/TFgJTaI+FlZxLItjPTu5tAfvrxPWmKXJkA7b8znx5O2w0kSynk0R1Ddyd6Ri4AIyS5SGm2ZbvrTyIpaXPvWMBl1o8X/nH14f61HP2piEtnk24FBLTbublgC9N1G4w/166jAwv2dxS9aWJGioAlSOgH8=
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " django-s3file" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " A lightweight file uploader input for Django and Amazon S3" ,
5
+ "directories" : {
6
+ "test" : " tests"
7
+ },
8
+ "scripts" : {
9
+ "test" : " standard"
10
+ },
11
+ "repository" : {
12
+ "type" : " git" ,
13
+ "url" : " git+https://github.com/codingjoe/django-s3file.git"
14
+ },
15
+ "keywords" : [
16
+ " aws" ,
17
+ " s3" ,
18
+ " django" ,
19
+ " file"
20
+ ],
21
+ "author" :
" Johannes Hoppe <[email protected] >" ,
22
+ "license" : " MIT" ,
23
+ "bugs" : {
24
+ "url" : " https://github.com/codingjoe/django-s3file/issues"
25
+ },
26
+ "homepage" : " https://github.com/codingjoe/django-s3file#readme" ,
27
+ "dependencies" : {
28
+ "standard" : " *"
29
+ }
30
+ }
Original file line number Diff line number Diff line change 96
96
window . uploading += 1
97
97
uploadFiles ( form , input , input . name )
98
98
}
99
- )
99
+ )
100
100
waitForAllFiles ( form )
101
101
}
102
102
112
112
} )
113
113
let submitButtons = form . querySelectorAll ( 'input[type=submit], button[type=submit]' )
114
114
Array . from ( submitButtons ) . forEach ( submitButton => {
115
- submitButton . addEventListener ( 'click' , clickSubmit )
115
+ submitButton . addEventListener ( 'click' , clickSubmit )
116
116
}
117
117
)
118
118
} )
You can’t perform that action at this time.
0 commit comments